コード例 #1
0
	void ClearAngularVelocity(){
		mSelf->setAngularVelocity(btVector3(0, 0, 0));
		mSelf->setLinearVelocity(btVector3(0, 0, 0));
		mSelf->clearForces();
	}
コード例 #2
0
	void SetVelocity(const Vec3& vel){
		mSelf->setLinearVelocity(FBToBullet(vel));
	}