Hoverball = Sign(TargetZOffset + 200)
Hello,
I'm trying to make a small camera drone, wich would be able to follow a player or an NPC. I could easily make it follow the X and Y position, but I don't know how to make it follow his target along Z axis.
If I put hoverballs on Z coordinates + 200 (if I want it to stay 200 over his target), it's going up and down faster and faster.
How can I make it more accurate?
Thanks for your reply.
The problem is still here, it keeps moving up and down
I don't know how to stop these movements...
here's the problem:
[ame="http://www.youtube.com/watch?v=sPJmZjToY1g"]http://www.youtube.com/watch?v=sPJmZjToY1g[/ame]
how can I fix that?
thanks, I'll try that as soon as I can
you could trying using a delta gate.
thoose work great![]()
<div align="center">[url="http://www.myspace.com/elysia"][img]http://planetswitch.com/pictures/elysia-digditch.jpg[/img][/url]</div>
The problem is that your hoverballs are too strong, so they cant home in on a specific altitude, they zoom past before they notice they have gone past, and fire the opposite way to counter, which ofcourse pushes it back below its intended target.. Repeat ad nauseum. I've found that decreasing the hoverball power, air resistance, and contraption weight are all usually required to stabilize on the Z axis.
Bookmarks