- Home /
how to keep a "ship" over a platform or rigidbody?
I'm making a ship/shooter like game. And I've made the level in maya, so what I'm trying to do is keep my ship over the platform at a certain height and freeze that, so If I approach a ramp to go up, I want go through it. I turned the ramp into a rigidbody, but I don't know where to go from there. OH, and this is all in C#. Thanks for any help!
So the ship is on the terrain and you want a ramp that goes up into the ship from the terrain?
No, I want the ship to be able to go up the ramp. Basically I have my ship hovering over a plane, and off the plane I've created 4 ramps, north, south , east, and west. That all go up to higher planes. I made the ramps rigidbodies, as well as the higher planes. I just want to be able to make my ship go up them.
I'm guessing you've probably already done this but I need to ask. Does your ship have a rigidbody and a collider as well? A capsule collider may work well. A cube collider would be good to use on the planes/ramps I think. I'm a beginner myself so I'm just tossing ideas out there.
Your answer
Follow this Question
Related Questions
Issue using wheelColliders around sphere 1 Answer
Errors with gravity switching... 1 Answer
Increase speed of an object's fall 1 Answer
Gravity and Grounding 2 Answers
Gravity and rotation control 0 Answers