diff options
author | Robert Adams | 2012-08-01 15:04:09 -0700 |
---|---|---|
committer | Robert Adams | 2012-08-03 15:09:52 -0700 |
commit | ea36d4a4cf716442e83cc9cd1b419a43be5adc6e (patch) | |
tree | d0f24359e5f62ce4b112abe91e52e30ec5ce5f62 /OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs | |
parent | Consolidate PersistBakedTextures, DelayBeforeAppearanceSend and DelayBeforeAp... (diff) | |
download | opensim-SC-ea36d4a4cf716442e83cc9cd1b419a43be5adc6e.zip opensim-SC-ea36d4a4cf716442e83cc9cd1b419a43be5adc6e.tar.gz opensim-SC-ea36d4a4cf716442e83cc9cd1b419a43be5adc6e.tar.bz2 opensim-SC-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.cs | 3 |
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 | |||
448 | public static extern bool SetObjectForce2(IntPtr obj, Vector3 force); | 448 | public static extern bool SetObjectForce2(IntPtr obj, Vector3 force); |
449 | 449 | ||
450 | [DllImport("BulletSim", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] | 450 | [DllImport("BulletSim", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] |
451 | public static extern bool AddObjectForce2(IntPtr obj, Vector3 force); | ||
452 | |||
453 | [DllImport("BulletSim", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] | ||
451 | public static extern bool SetCcdMotionThreshold2(IntPtr obj, float val); | 454 | public static extern bool SetCcdMotionThreshold2(IntPtr obj, float val); |
452 | 455 | ||
453 | [DllImport("BulletSim", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] | 456 | [DllImport("BulletSim", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] |