|
| MyCharacterProxy (bool isDynamic, bool isCapsule, float characterWidth, float characterHeight, float crouchHeight, float ladderHeight, float headSize, float headHeight, Vector3 position, Vector3 up, Vector3 forward, float mass, MyPhysicsBody body, bool isOnlyVertical, float maxSlope, float maxImpulse, float maxSpeedRelativeToShip, float?maxForce=null, HkRagdoll ragDoll=null) |
|
void | Dispose () |
|
void | SetCollisionFilterInfo (uint info) |
|
void | Activate (HkWorld world) |
|
void | Deactivate (HkWorld world) |
|
HkCharacterStateType | GetState () |
|
void | SetState (HkCharacterStateType state) |
|
void | StepSimulation (float stepSizeInSeconds) |
|
void | UpdateSupport (float stepSizeInSeconds) |
|
void | SkipSimulation (MatrixD mat) |
|
void | EnableFlyingState (bool enable) |
|
void | EnableFlyingState (bool enable, float maxCharacterSpeed, float maxFlyingSpeed, float maxAcceleration) |
|
void | EnableLadderState (bool enable) |
|
void | EnableLadderState (bool enable, float maxCharacterSpeed, float maxAcceleration) |
|
void | SetShapeForCrouch (HkWorld world, bool enable) |
|
void | ApplyLinearImpulse (Vector3 impulse) |
|
void | ApplyAngularImpulse (Vector3 impulse) |
|
void | ApplyGravity (Vector3 gravity) |
|
void | SetRigidBodyTransform (Matrix m) |
|
HkShape | GetShape () |
|
HkShape | GetCollisionShape () |
|
void | SetSupportDistance (float distance) |
|
void | SetHardSupportDistance (float distance) |
|
MyPhysicsBody | GetPhysicsBody () |
|
HkEntity | GetRigidBody () |
|
HkRigidBody | GetHitRigidBody () |
|
Matrix | GetRigidBodyTransform () |
|
float | CharacterFlyingMaxLinearVelocity () |
|
float | CharacterWalkingMaxLinearVelocity () |
|
|
static HkShape | CreateCharacterShape (float height, float width, float headHeight, float headSize, float headForwardOffset, float downOffset=0, bool capsuleForHead=false) |
|
|
HkCharacterRigidBody | CharacterRigidBody [get] |
|
Vector3 | LinearVelocity [get, set] |
|
Vector3 | Forward [get, set] |
|
Vector3 | Up [get, set] |
|
Vector3 | Gravity [get, set] |
|
float | Elevate [get, set] |
|
bool | AtLadder [get, set] |
|
Vector3 | ElevateVector [get, set] |
|
Vector3 | ElevateUpVector [get, set] |
|
bool | Jump [set] |
|
Vector3 | Position [get, set] |
|
float | PosX [set] |
|
float | PosY [set] |
|
Vector3 | AngularVelocity [get, set] |
|
float | Speed [get, set] |
|
bool | Supported [get] |
|
Vector3 | SupportNormal [get] |
|
Vector3 | GroundVelocity [get] |
|
bool | ImmediateSetWorldTransform [get, set] |
|
bool | ContactPointCallbackEnabled [get, set] |
|
float | Mass [get] |
|
float | MaxSpeedRelativeToShip [get] |
|
Definition at line 29 of file MyCharacterProxy.cs.
Sandbox.Engine.Physics.MyCharacterProxy.MyCharacterProxy |
( |
bool |
isDynamic, |
|
|
bool |
isCapsule, |
|
|
float |
characterWidth, |
|
|
float |
characterHeight, |
|
|
float |
crouchHeight, |
|
|
float |
ladderHeight, |
|
|
float |
headSize, |
|
|
float |
headHeight, |
|
|
Vector3 |
position, |
|
|
Vector3 |
up, |
|
|
Vector3 |
forward, |
|
|
float |
mass, |
|
|
MyPhysicsBody |
body, |
|
|
bool |
isOnlyVertical, |
|
|
float |
maxSlope, |
|
|
float |
maxImpulse, |
|
|
float |
maxSpeedRelativeToShip, |
|
|
float? |
maxForce = null , |
|
|
HkRagdoll |
ragDoll = null |
|
) |
| |
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.Activate |
( |
HkWorld |
world | ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.ApplyAngularImpulse |
( |
Vector3 |
impulse | ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.ApplyGravity |
( |
Vector3 |
gravity | ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.ApplyLinearImpulse |
( |
Vector3 |
impulse | ) |
|
|
inline |
float Sandbox.Engine.Physics.MyCharacterProxy.CharacterFlyingMaxLinearVelocity |
( |
| ) |
|
|
inline |
float Sandbox.Engine.Physics.MyCharacterProxy.CharacterWalkingMaxLinearVelocity |
( |
| ) |
|
|
inline |
static HkShape Sandbox.Engine.Physics.MyCharacterProxy.CreateCharacterShape |
( |
float |
height, |
|
|
float |
width, |
|
|
float |
headHeight, |
|
|
float |
headSize, |
|
|
float |
headForwardOffset, |
|
|
float |
downOffset = 0 , |
|
|
bool |
capsuleForHead = false |
|
) |
| |
|
inlinestatic |
void Sandbox.Engine.Physics.MyCharacterProxy.Deactivate |
( |
HkWorld |
world | ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.Dispose |
( |
| ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.EnableFlyingState |
( |
bool |
enable | ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.EnableFlyingState |
( |
bool |
enable, |
|
|
float |
maxCharacterSpeed, |
|
|
float |
maxFlyingSpeed, |
|
|
float |
maxAcceleration |
|
) |
| |
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.EnableLadderState |
( |
bool |
enable | ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.EnableLadderState |
( |
bool |
enable, |
|
|
float |
maxCharacterSpeed, |
|
|
float |
maxAcceleration |
|
) |
| |
|
inline |
HkShape Sandbox.Engine.Physics.MyCharacterProxy.GetCollisionShape |
( |
| ) |
|
|
inline |
HkRigidBody Sandbox.Engine.Physics.MyCharacterProxy.GetHitRigidBody |
( |
| ) |
|
|
inline |
MyPhysicsBody Sandbox.Engine.Physics.MyCharacterProxy.GetPhysicsBody |
( |
| ) |
|
|
inline |
HkEntity Sandbox.Engine.Physics.MyCharacterProxy.GetRigidBody |
( |
| ) |
|
|
inline |
Matrix Sandbox.Engine.Physics.MyCharacterProxy.GetRigidBodyTransform |
( |
| ) |
|
|
inline |
HkShape Sandbox.Engine.Physics.MyCharacterProxy.GetShape |
( |
| ) |
|
|
inline |
HkCharacterStateType Sandbox.Engine.Physics.MyCharacterProxy.GetState |
( |
| ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.SetCollisionFilterInfo |
( |
uint |
info | ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.SetHardSupportDistance |
( |
float |
distance | ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.SetRigidBodyTransform |
( |
Matrix |
m | ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.SetShapeForCrouch |
( |
HkWorld |
world, |
|
|
bool |
enable |
|
) |
| |
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.SetState |
( |
HkCharacterStateType |
state | ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.SetSupportDistance |
( |
float |
distance | ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.SkipSimulation |
( |
MatrixD |
mat | ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.StepSimulation |
( |
float |
stepSizeInSeconds | ) |
|
|
inline |
void Sandbox.Engine.Physics.MyCharacterProxy.UpdateSupport |
( |
float |
stepSizeInSeconds | ) |
|
|
inline |
Vector3 Sandbox.Engine.Physics.MyCharacterProxy.AngularVelocity |
|
getset |
bool Sandbox.Engine.Physics.MyCharacterProxy.AtLadder |
|
getset |
HkCharacterRigidBody Sandbox.Engine.Physics.MyCharacterProxy.CharacterRigidBody |
|
get |
bool Sandbox.Engine.Physics.MyCharacterProxy.ContactPointCallbackEnabled |
|
getset |
float Sandbox.Engine.Physics.MyCharacterProxy.Elevate |
|
getset |
Vector3 Sandbox.Engine.Physics.MyCharacterProxy.ElevateUpVector |
|
getset |
Vector3 Sandbox.Engine.Physics.MyCharacterProxy.ElevateVector |
|
getset |
Vector3 Sandbox.Engine.Physics.MyCharacterProxy.Forward |
|
getset |
Vector3 Sandbox.Engine.Physics.MyCharacterProxy.Gravity |
|
getset |
Vector3 Sandbox.Engine.Physics.MyCharacterProxy.GroundVelocity |
|
get |
bool Sandbox.Engine.Physics.MyCharacterProxy.ImmediateSetWorldTransform |
|
getset |
bool Sandbox.Engine.Physics.MyCharacterProxy.Jump |
|
set |
Vector3 Sandbox.Engine.Physics.MyCharacterProxy.LinearVelocity |
|
getset |
float Sandbox.Engine.Physics.MyCharacterProxy.Mass |
|
get |
float Sandbox.Engine.Physics.MyCharacterProxy.MaxSpeedRelativeToShip |
|
get |
Vector3 Sandbox.Engine.Physics.MyCharacterProxy.Position |
|
getset |
float Sandbox.Engine.Physics.MyCharacterProxy.PosX |
|
set |
float Sandbox.Engine.Physics.MyCharacterProxy.PosY |
|
set |
float Sandbox.Engine.Physics.MyCharacterProxy.Speed |
|
getset |
bool Sandbox.Engine.Physics.MyCharacterProxy.Supported |
|
get |
Vector3 Sandbox.Engine.Physics.MyCharacterProxy.SupportNormal |
|
get |
Vector3 Sandbox.Engine.Physics.MyCharacterProxy.Up |
|
getset |
ContactPointEventHandler Sandbox.Engine.Physics.MyCharacterProxy.ContactPointCallback |
The documentation for this class was generated from the following file: