Skip to content
Browse files

[Physics] Clarify bullet lib's usage and sources

  • Loading branch information
Eideren committed Jun 26, 2019
1 parent ae1f4b4 commit a09fa7ee09a6d437c5dee485ddd8336db3e13ea8
Showing with 14 additions and 46 deletions.
  1. +8 −0 deps/BulletPhysics/
  2. +0 −40 deps/BulletPhysics/build.bat
  3. +1 −1 deps/BulletPhysics/checkout.bat
  4. +5 −5 deps/BulletPhysics/sign.bat
@@ -0,0 +1,8 @@
## BulletPhysics
This folder houses bullet, the physics engine used within xenko.
libbulletc.* is the bullet c++ library, we should have one lib compiled for each platform and architecture.
BulletSharp.NetStandard.dll is the C# wrapper around that c++ library, there's one dll for iOS (within /iOS) and the other for any other platform, take a look at for more info about the reason as to why we have to make a specific dll for iOS.

The sources, build scripts and instructions are hosted over at .

At the time of writing this (26/June/19), the files in this folder were built under commit [2a79f9af9c3fcc61aaad69a9a24e6b1f7246f758](, changes were merged with xenko through [PR#289](

This file was deleted.

@@ -6,5 +6,5 @@ IF NOT ERRORLEVEL 0 (
ECHO "Could not find git.exe"
%GIT_CMD% clone ../../externals/bullet2-sharp-mobile
%GIT_CMD% clone ../../externals/BulletSharpPInvoke
@@ -1,12 +1,12 @@
call "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\vc\vcvarsall.bat" x86

ildasm /all /out:Windows\ BulletSharp.NetStandard.dll
ildasm /all / BulletSharp.NetStandard.dll
ildasm /all /out:iOS\ iOS\BulletSharp.NetStandard.dll

@echo "Please patch Windows\ and iOS\ Xenko.Core.Mathematics reference with .publickeytoken = ( BA CA CC 89 C3 B6 D5 56 )"
@echo "Please patch and iOS\ Xenko.Core.Mathematics reference with .publickeytoken = ( BA CA CC 89 C3 B6 D5 56 )"

mkdir Windows\Signed
mkdir Signed
mkdir iOS\Signed
ilasm /dll /key:..\..\build\paradox.snk /output:Windows\Signed\BulletSharp.NetStandard.dll Windows\
ilasm /dll /key:..\..\build\paradox.snk /output:iOS\Signed\BulletSharp.NetStandard.dll iOS\
ilasm /dll /key:..\..\build\xenko.public.snk /output:Signed\BulletSharp.NetStandard.dll
ilasm /dll /key:..\..\build\xenko.public.snk /output:iOS\Signed\BulletSharp.NetStandard.dll iOS\

0 comments on commit a09fa7e

Please sign in to comment.
You can’t perform that action at this time.