Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# Gameplay.FlightControlJoint

00001 00002 00003 00004 00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020

    // Flight Control Joint

    // Used by flying vehicles to implement a basic flying model.
    class FlightControlJoint extends Engine.Havok6DOFConstraint
    	native;

    function setTargetRotation(Quat newTargetRotation)
    {
    	AutoComputeLocals = HKC_DontAutoCompute;
    	LocalAxisB = QuatRotateVector(newTargetRotation, vect(1,0,0));
    	LocalPerpAxisB = QuatRotateVector(newTargetRotation, vect(0,1,0));
    	UpdateConstraintDetails();
    }

    defaultProperties
    {
    	RemoteRole = ROLE_None

    	bConstrainLinear = false
    }

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

Class file time: ne 5.9.2004 15:53:28.000 - Creation time: st 23.5.2018 00:10:43.419 - Created with UnCodeX