Académique Documents
Professionnel Documents
Culture Documents
public
var rotation: Quaternion;
public
Parameters
Transform :
target
worldUp
Vector3.up): void;
Rotates the transform so the forward vector points at /target/'s current position.
public
function Rotate(eulerAngles:
Vector3, relativeTo: Space
= Space.Self): void;
public
function TransformDirection
e = Space.Self): void;
Rigidbody:
public
Control of an object's
function AddForce(force: Ve
Adds a force to the rigidbody. As a result the rigidbody will start moving.
ForceMode.Force): void;
simulation.
public var velocity: Vector3;
The velocity vector of the rigidbody.
Vector3 :
Representation of 3D
vectors and points.
Vector3 :
Representation of 3D
vectors and points.
public static
function Lerp(from: Vector3, to: Ve
view
up
void;