|
ok so im making something very similar to the one in this video http://www.youtube.com/watch?v=3xWfBgtI_BA How is it posible to get a floating car similar to that and making it even on terrain all terrain? I've been working on this for a while but can't find anything that has actually helped.
(comments are locked)
|
|
Yes you could use a raycast in this case to see how the normals are aligned beneath the hover craft. The rest can be done with additive animations and/or physics. Easiest would be to accomplish this with the physics engine. Start off by making a rigidbody that floats above the ground no matter where the ground's current height is, from there just add functionality to steer. You can sample the height data at the current position from a terrain and rotate towards the current normal - using the physics engine you'd have forces that pushes the rigidbody into angle.
(comments are locked)
|

I really need on this I have no idea what to do.
Where are you in the process? Do you have code? do you have an idea about the code?
Seems to me if you can make a car that drives on terrain then you could put the car code in an invisible object and put the hovercraft as a child that is offset above the ground...
I havent got any code but I have all the models and stuff but im just not sure on where to start with this. I'm thinking I should be using raycasting to do this but I'm not sure.