Still need help, see bottom post.
Still need help, see bottom post.
Last edited by xixo12e; 07-04-2009 at 08:24 AM.
for applyAngForce you want to get the bearing and elevation i believe.
then make to angleCode:Pitch = entity():elevation(owner():pos()) Yaw = entity():bearing(owner():pos()) Roll = entity():angles():roll()then apply forceCode:Ang = ang(Pitch,Yaw,Roll)*100 or soCode:applyAngForce(Ang+$Ang*5) works good
Adadr. I Wire.
You cant just have it applyOffsetForce, you need to have an anti-wobble system.
I need one that does inertia countering, AKA it doesn't just work standing still, but it will work ballsocketed to a 100mph jet.
Last edited by xixo12e; 07-04-2009 at 12:21 AM.
You can do several things, of which few I understand. You can use, for stabilization:
-A PID Controller, which uses Calculus so I can't help you there, but someone was showing one off on these forums and seemed fairly user friendly.
-The stabilization formula proposed earlier that uses a delta.
-OR, what I recommend, is you use inertia to compensate for rotational change, but, once again, don't really understand it.
Bookmarks