Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AI and Deep Learning by (50.2k points)

What I'm trying to do with MRS is to teach myself some basic AI; what I want to do is to make a rocket entity, with things such as vectored exhaust, and staging. Does anyone have an idea on how to make an entity that can fly? Or do I just need to constantly apply a force upwards?

1 Answer

0 votes
by (108k points)

You can apply force with Simulation.Physics.PhysicsEntity.ApplyForce(). I think you'd do that in your entity's Update() method. But it depends if ApplyForce is actually applying an Impulse (a force for that frame only) or if it's really adding a persistent Force. I'm assuming its the former since I see no way of applying. In such cases, Update() is probably the right place. If it is persistent, you only need to do it when thrust levels change.

For more information regarding this, refer the following link: https://the-eye.eu/public/Books/IT%20Various/professional_microsoft_robotics_developer_studio.pdf

If you are looking to learn more about Artificial Intelligence then you visit Artificial Intelligence(AI) Tutorial. Also, if you are appearing for job profiles of AI Engineer or AI Expert then you can prepare for the interviews on Artificial Intelligence Interview Questions.

Browse Categories

...