Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rotating a hover craft.

Adam Wolfe
Registered User
Join date: 23 Dec 2004
Posts: 20
05-13-2005 00:50
Hi everyone,

I am starting to make a hovering vehicle. It acts more like a baloon than an airplane. It is slow and goes forwards and backwards. Now, the only difficulty I have is rotating the craft on its Z axis. I need to be able to set the heading so that I can get places that are not in front of or in back of my craft! :) I tried llSetRot, but it does not work? I guess it doesnt work for vehicles.

Any suggestions? Again, I want it to work like a baloon, so I do not want it to bank, just rotate along the Z axis. Like a hovering helicopter.

Thanks!

-Adam Wolfe
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
05-13-2005 01:07
llSetVehicleVectorParam( VEHICLE_ANGULAR_MOTOR_DIRECTION, <x,y,z>); :)
_____________________
Adam Wolfe
Registered User
Join date: 23 Dec 2004
Posts: 20
05-13-2005 01:10


Thank you, now i understand what the angular motor does now :) One more question, does this work off of the global axis or local?