//This vector is the offset of the model center from origin.
//For example a model 72 units tall standing at origin is 36 units offset on the y axis.
//This allows for models of different sizes.
characterOffsetVec = CreateVector3( 0.0, 36.0, 0.0 )
//This vector indicates the axis your model faces forward.
//For example if your model faces down the - Z axis use this vector.
objectOrientationVec = CreateVector3( 0.0, 0.0, -1.0 )
//The crouchScale parameter is 0.0 to 1.0, for examle 0.75 is 75% of the models standing height.
Create3DPhysicsCharacterController( objID, 1, characterOffsetVec, objectOrientationVec, 0.75 )
DeleteVector3( characterOffsetVec )
DeleteVector3( objectOrientationVec )
Help make AGK better by submitting an example for this command! (All examples are subject to approval)