1#ifdef FEATURE_NETWORK_RECONCILIATION
14enum AnimPhysCorrectionType
26class AnimPhysOwnerState : PawnOwnerState
28 proto native
void SetCorrectionType(
int value);
29 proto native
int GetCorrectionType();
34 proto native
void SetRotation(
float value[4]);
35 proto native
void GetRotation(out
float value[4]);
39 proto native
Object GetParent();
42 proto native
void SetLinked(
Object value);
43 proto native
Object GetLinked();
45 proto native
bool IsLinked();
46 proto native
bool IsParented();
51 proto native
void SetCollisionLayer(
int value);
52 proto native
int GetCollisionLayer();
54 proto native
void SetFlags(
int value);
55 proto native
int GetFlags();
57 proto native
void SetCollisionOffset(
vector value);
58 proto native
int GetCollisionOffset(out
vector value);
60 proto native
void SetStance(
int value);
61 proto native
int GetStance();
64 override event void GetTransform(inout
vector transform[4])
67 GetRotation(rotation);
68 Math3D.QuatToMatrix(rotation, transform);
72 transform[3] = position;
74 Object parent = GetParent();
78 parent.GetTransform(parentTransform);
79 Math3D.MatrixMultiply4(parentTransform, transform, transform);
86class AnimPhysMove : PawnMove
88 proto native
void SetCorrectionType(
int value);
89 proto native
int GetCorrectionType();
94 proto native
void SetRotation(
float value[4]);
95 proto native
void GetRotation(out
float value[4]);
98 proto native
void SetLinked(
Object value);
100 proto native
Object GetParentOrLinked();
101 proto native
Object GetParent();
103 proto native
bool HasParent();
105 proto native
bool IsParented();
106 proto native
bool IsLinked();
109 proto native
void SetParentTransform(
vector transform[4]);
110 proto native
void GetParentTransform(out
vector transform[4]);
113 override event void GetTransform(inout
vector transform[4])
116 GetRotation(rotation);
117 Math3D.QuatToMatrix(rotation, transform);
121 transform[3] = position;
125 vector parentTransform[4];
126 GetParentTransform(parentTransform);
127 Math3D.MatrixMultiply4(parentTransform, transform, transform);
void SetParent(Object parent_obj, int pivot)
Set parent of the Effect.
proto native void SetPosition(vector position)
Set the world position of the Effect.
proto native void SetFlags(ShapeFlags flags)
proto native void SetSpeed(vector speed)
Note: Sets the speed locally if parented, retrieves globally with the parent speed.
proto native vector GetSpeed()
class JsonUndergroundAreaTriggerData GetPosition