Deprecate the Direction properties and replace with forward. Also give more descriptive description of what they do.
This commit is contained in:
@@ -822,6 +822,11 @@ void Actor::SetRotation(const Matrix& value)
|
||||
}
|
||||
|
||||
void Actor::SetDirection(const Float3& value)
|
||||
{
|
||||
SetForward(value);
|
||||
}
|
||||
|
||||
void Actor::SetForward(const Float3& value)
|
||||
{
|
||||
CHECK(!value.IsNanOrInfinity());
|
||||
Quaternion orientation;
|
||||
|
||||
Reference in New Issue
Block a user