1
This commit is contained in:
@@ -179,6 +179,14 @@ namespace BITKit
|
||||
public Vector3 position;
|
||||
public Vector3 forward;
|
||||
public Quaternion rotation;
|
||||
|
||||
public Location(Vector3 position, Quaternion rotation)
|
||||
{
|
||||
this.position = position;
|
||||
this.rotation = rotation;
|
||||
this.forward = rotation * Vector3.forward;
|
||||
}
|
||||
|
||||
public Location Set(Vector3 value)
|
||||
{
|
||||
position = value;
|
||||
|
Reference in New Issue
Block a user