aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
diff options
context:
space:
mode:
authorRobert Adams2012-08-01 15:04:09 -0700
committerRobert Adams2012-08-03 15:09:52 -0700
commitea36d4a4cf716442e83cc9cd1b419a43be5adc6e (patch)
treed0f24359e5f62ce4b112abe91e52e30ec5ce5f62 /OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
parentConsolidate PersistBakedTextures, DelayBeforeAppearanceSend and DelayBeforeAp... (diff)
downloadopensim-SC_OLD-ea36d4a4cf716442e83cc9cd1b419a43be5adc6e.zip
opensim-SC_OLD-ea36d4a4cf716442e83cc9cd1b419a43be5adc6e.tar.gz
opensim-SC_OLD-ea36d4a4cf716442e83cc9cd1b419a43be5adc6e.tar.bz2
opensim-SC_OLD-ea36d4a4cf716442e83cc9cd1b419a43be5adc6e.tar.xz
BulletSim: Add AddObjectForce to BulletSim API.
Add interface 2 enhancements to BSCharacter. Modify AddForce and SetForce to use the new Bullet interface. More DetailLog statements for character.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs b/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
index 0ffbc94..1881e41 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
@@ -448,6 +448,9 @@ public static extern bool SetAngularVelocity2(IntPtr obj, Vector3 angularVelocit
448public static extern bool SetObjectForce2(IntPtr obj, Vector3 force); 448public static extern bool SetObjectForce2(IntPtr obj, Vector3 force);
449 449
450[DllImport("BulletSim", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] 450[DllImport("BulletSim", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
451public static extern bool AddObjectForce2(IntPtr obj, Vector3 force);
452
453[DllImport("BulletSim", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
451public static extern bool SetCcdMotionThreshold2(IntPtr obj, float val); 454public static extern bool SetCcdMotionThreshold2(IntPtr obj, float val);
452 455
453[DllImport("BulletSim", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] 456[DllImport("BulletSim", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]