Hi, Norbo!
I had a little time last night but successfully tested the application with the activation of the compound body when applying the forces on it. So it was really the sleeping of the compound body that caused the problem.
Thank you for all of your help!
Cheers,
Shakaron
Search found 6 matches
- Tue Dec 02, 2008 10:03 am
- Forum: Questions and Help
- Topic: Applying force on compound bodies
- Replies: 14
- Views: 24543
- Mon Dec 01, 2008 11:57 am
- Forum: Questions and Help
- Topic: Applying force on compound bodies
- Replies: 14
- Views: 24543
Re: Applying force on compound bodies
A quick test for this would be to either use entity.activate() when you're adding a new force or to set entity.isAlwaysActive = true for the compound body. Thanks! It seems to be the problem. I'll try it when I get home (or to school). Just for a little general information, you can also use impulse...
- Mon Dec 01, 2008 11:24 am
- Forum: Questions and Help
- Topic: Applying force on compound bodies
- Replies: 14
- Views: 24543
Re: Applying force on compound bodies
Hey, Norbo! Additionally (if the above method doesn't work), when you were using very high force values (>1e3), did the tank fly off the screen rapidly or did it seem to do nothing different and settle down in the same manner as ever, and were those forces the forces applied initially to subbodies o...
- Mon Dec 01, 2008 12:44 am
- Forum: Questions and Help
- Topic: Applying force on compound bodies
- Replies: 14
- Views: 24543
Re: Applying force on compound bodies
Hi, Norbo! I made the adjustments you suggested. The result is still disappointing. The thing is that you add the force to the tank before it hits the ground so it already has an impulse and starts moving still being in the air. (Sorry for my bad English, I seem not been capable to state that clearl...
- Sun Nov 30, 2008 11:55 pm
- Forum: Questions and Help
- Topic: Applying force on compound bodies
- Replies: 14
- Views: 24543
Re: Applying force on compound bodies
Hi, Norbo! I tried the forces from 10 to 1e12 by the factor of ten. Did not change any friction but enabled the "thruster" feature... Here is a part of the code of the constructor of the tank: Vector3 originalPosition = new Vector3 (0f, 10f, 0f); CompoundBody body = new CompoundBody (); //...
- Sun Nov 30, 2008 9:14 pm
- Forum: Questions and Help
- Topic: Applying force on compound bodies
- Replies: 14
- Views: 24543
Applying force on compound bodies
Hi, guys! I try to get familiar with video game development and I chose BepuPhysics for this purpose since I would use XBOX 360 as a platform. Though the current development is on Windows x86. I have a tank. It is a compound body of 3 boxes: hull, turret and a gun. These boxed do not intersect each ...