Ok so I’m making a plane with E2:

my problems are this:

http://www.freeimagehosting.net/uploads/64c694f8de.jpg

PART3:

How do I simulate the stabilisers ( tail plane and fin), ie prevent latteral movement, using the vectors and applyforce?

So far my code is this:

```
@name
@inputs ConPit ConYaw ConRoll Power FlowSpeed
@outputs PlaneAngle:angle Lift
@persist V:vector Ang:angle AngV:angle Vector:vector AntiWeight:vector
@trigger all
runOnTick(1)
EE = entity()
Ang = EE:angles():setYaw(0):setRoll(0):setPitch(0)
AngV = EE:angVel()
Inertia = shiftL(ang(entity():inertia()))
ConAng = ang(ConPit, ConYaw, ConRoll)
applyAngForce(-(Ang*25 + ConAng*300 + AngV*30)*Inertia)
#TargetPos=owner():pos()+vec(30,30,30)
PlaneAngle = EE:angles()
AngleAddP = EE:angles():setPitch(90)
AngleAddR = EE:angles():setRoll(90)
AngleAddY = EE:angles():setYaw(90)
CurrentPos = EE:pos():setX(0):setY(0):setZ(0)
#Vel=EE:vel():setX(PlaneAngle - AngleAddP)#:setY(0)
D = (EE:vel()):dot((EE:vel()))
Vel = EE:vel():setX(D)
Vector = -Vel
Mass = EE:mass()
#(0.8*Vector*Mass)
#Speed of flow over aerofoil -> freestream velocity = U
applyForce(Vector*Mass)
D = (FlowSpeed^2)*0.0001
Lift = D
#Lift = vec(PlaneAngle)*D
#Vector = AntiWeight + Lift + Thrust
#applyForce(Vector*Mass)
```

help pliz?