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

# Engine.KarmaParamsRBFull

00001 00002 00003 00004 00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030

    //=============================================================================
    // This is the full set of Karma parameters, including inertia tensor and
    // centre-of-mass position, which are normally stored with the StaticMesh.
    // This gives you a chance to overrids these values.
    // NB: All parameters are in KARMA scale!
    //=============================================================================

    class KarmaParamsRBFull extends KarmaParams
    	editinlinenew
    	native;

    //// Inertia tensor of object assuming a mass of 1 - symmetric so just store 6 elements:
    //// (0 1 2)
    //// (1 3 4)
    //// (2 4 5)
    //// This will be scaled by the mass of the object to work out its actual inertia tensor.
    //var()    float   KInertiaTensor[6];
    //var()    vector  KCOMOffset;         // Position of centre of mass in body ref. frame
    //
    //// default is sphere with radius 1
    //defaultproperties
    //{
    //    KInertiaTensor(0)=0.4
    //    KInertiaTensor(1)=0.0
    //    KInertiaTensor(2)=0.0
    //    KInertiaTensor(3)=0.4
    //    KInertiaTensor(4)=0.0
    //    KInertiaTensor(5)=0.4
    //    KCOMOffset=(X=0,Y=0,Z=0)
    //}

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

Class file time: ne 5.9.2004 16:01:26.000 - Creation time: st 23.5.2018 00:10:44.852 - Created with UnCodeX