|
Jolan Nolan
wannabe
Join date: 12 Feb 2006
Posts: 243
|
06-27-2006 13:30
I'm using the Basic Airplane script (first time) and when I turn, my plane swings out to the side (Fig.A). How do I get it to roll more from the center of the craft (Fig.B)?
Also, if Shift+left/right is strafe for avatars, can this key combination be used to add rudder control on a vehicle?
- Jolan
|
|
Angela Salome
Registered User
Join date: 6 Oct 2005
Posts: 224
|
06-27-2006 15:53
From: Jolan Nolan I'm using the Basic Airplane script (first time) and when I turn, my plane swings out to the side (Fig.A). How do I get it to roll more from the center of the craft (Fig.B)?
Also, if Shift+left/right is strafe for avatars, can this key combination be used to add rudder control on a vehicle?
- Jolan You need to change or move your root prim so it's at the center of the airplane.
|
|
Jolan Nolan
wannabe
Join date: 12 Feb 2006
Posts: 243
|
06-28-2006 07:44
ohh. That's kinda what I thought... So there aren't any commands to change that like the Sitarget can change your position?
- Jolan
|
|
Kage Seraph
I Dig Giant Mecha
Join date: 3 Nov 2004
Posts: 513
|
06-28-2006 12:11
Hi, Jolan, Yes, you can capture strafe commands. Look in the control portion of the script for CONTROL_ROT_LEFT. You would want to add a similar control handler for CONTROL_LEFT to capture left-strafe events. See also: http://secondlife.com/badgeo/wakka.php?wakka=controlAs far as sit targeting is concerned, ya, you can move an avatar anywhere you like. llSitTarget(vector offset, rotation rot) is the format, and vector offset can be as big or as small as you like, as long as its magnitude is nonzero, IIRC. See also: http://secondlife.com/badgeo/wakka.php?wakka=llSitTarget
|