Still determining if Bullet is an ideal thing to proceed with.
Is there any way to implement linear movement? That is, infinite/0 acceleration? For example, the movement of a character should have a constant velocity, and I should be quickly able to determine if I'm colliding in something in order to stop or resume animating.
Linear Movement
-
- Posts: 4
- Joined: Fri Apr 06, 2012 1:00 pm
Re: Linear Movement
Well you can always set the linear velocity each frame, collision can be detected with callbacks
-
- Posts: 5
- Joined: Fri Apr 13, 2012 4:11 pm
Re: Linear Movement
I guess I was asking what the exact method was for that.
-
- Posts: 4
- Joined: Fri Apr 06, 2012 1:00 pm
Re: Linear Movement
http://bulletphysics.com/Bullet/BulletF ... dBody.html
btRigidBody has the following function: void SetLinearVelocity (const btVector3 &lin_vel) for the velocity, can't help you with collision callbacks though
since I'm working on that myself right now :p
btRigidBody has the following function: void SetLinearVelocity (const btVector3 &lin_vel) for the velocity, can't help you with collision callbacks though
since I'm working on that myself right now :p