MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / AddMovement

Method AddMovement

Source/Engine/Level/Actor.cpp:888–895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

886}
887
888void Actor::AddMovement(const Vector3& translation, const Quaternion& rotation)
889{
890 Transform t;
891 t.Translation = _transform.Translation + translation;
892 t.Orientation = _transform.Orientation * rotation;
893 t.Scale = _transform.Scale;
894 SetTransform(t);
895}
896
897void Actor::GetWorldToLocalMatrix(Matrix& worldToLocal) const
898{

Callers 2

MoveMethod · 0.45
ApplyRootMotionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected