Hi,
I've search this forum and I can't find a simple method to draw lines in Bullet.
I have calculated the forces that are produced when a Rigid Body collides with the floor, and I want to paint the vectors. OpenGL instructions are ignored completely.
Is there any easy way to do this?
By the way, I calculate the forces as:
f = (impulse*normal)/dt
This gives me really big forces, am I doing something wrong?
Thanks!
Drawing forces
-
- Posts: 39
- Joined: Thu Mar 24, 2011 3:50 pm
Re: Drawing forces
I'll answer myself:
I had to paint everything after the call to debugDrawWorld and renderme.
Hope this helps somebody...
I had to paint everything after the call to debugDrawWorld and renderme.
Hope this helps somebody...