Replies: 1 comment
-
Hello. Once you a have created a RigidBody for your spaceship, you should be able to apply forces and torques onto it. For instance, you can apply a local force at the center of mass location with: rp3d::Vector3 force(4, 0, 0); Note: Can I please ask you to post your questions in the Discussions section instead of creating a new issue? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
To continue the discussion I started on the issues section. The main thing I want to do is to somehow to model all the exhaust nozzles separately and apply forces at the nozzles, not at the center of mass. So I need to model somehow the rigid body as having a center fuselage, 4 wings, 4 engines and 16 nozzles that can apply force on the engines. I don't know how to do that. This will also make it possible to have parts of the ship be destructible and blown off like say for example get hit in a wing and lose half of it along with the engine.
Beta Was this translation helpful? Give feedback.
All reactions