ソースを参照

WIP bullet API.

Mark Sibly 8 年 前
コミット
b45fbd39e1
1 ファイル変更12 行追加0 行削除
  1. 12 0
      modules/bullet/bullet.monkey2

+ 12 - 0
modules/bullet/bullet.monkey2

@@ -488,10 +488,22 @@ Class btRigidBody Extends btCollisionObject
 
 	Method New( mass:btScalar,motionState:btMotionState,collisionShape:btCollisionShape,localInertia:btVector3=New btVector3( 0,0,0 ) )
 	
+	Method clearForces()
+		
+	Method setGravity( acceleration:btVector3 )
+		
+	Method getGravity:btVector3()
+		
+	Method proceedToTransform( newTrans:btTransform )
+		
 	Method setLinearVelocity( lin_vel:btVector3 )
+		
+	Method setAngularVelocity( ang_vel:btVector3 )
 	
 	Method getLinearVelocity:btVector3()
 		
+	Method getAngularVelocity:btVector3()
+		
 	Method applyForce( force:btVector3,rel_pos:btVector3 )
 		
 	Method applyCentralForce( force:btVector3 )