The closest point to the bounding box of the attached collider. This can be used to calculate hit points when applying explosion damage.
Space.Log(data.X)
Space.Log(data.Y)
Space.Log(data.Z)
end
local Object = Space.Scene.Find("SCRIPT_OBJECT")
local newVector = Vector.New(5,5,5)
local Vectordata = Object.CharacterController.ClosestPointOnBounds(newVector)
The point on the collider that is closest to the specified location.
Space.Log(data.X)
Space.Log(data.Y)
Space.Log(data.Z)
end
local Object = Space.Scene.Find("SCRIPT_OBJECT")
local newVector = Vector.New(5,5,5)
local Vectordata = Object.CharacterController.ClosestPoint(newVector)PrintVector(Vectordata)
Moves the character with speed.
local newVector = Vector.New(100,0,0)
local Vectordata = Object.CharacterController.SimpleMove(newVector)
Moves the character with speed.
local newVector = Vector.New(100,0,0)
local Vectordata = Object.CharacterController.Move(newVector)
Returns Center Vector value of the Character Controller.
Determines whether other rigid bodies or character controllers collide with this character controller (by default this is always enabled).
local Vectordata = Object.CharacterController.DetectCollisions
Enables or disables overlap recovery.
local Vectordata = Object.CharacterController.enableOverlapRecovery
The height of the character's capsule.
local Vectordata = Object.CharacterController.Height
Gets or sets the minimum move distance of the character controller.
local Vectordata = Object.CharacterController.MinMoveDistance
The radius of the character's capsule.
local Vectordata = Object.CharacterController.Radius
The character's collision skin width.
local Vectordata = Object.CharacterController.SkinWidth
The character controllers slope limit in degrees.
local Vectordata = Object.CharacterController.SlopeLimit
The character controllers step offset in meters.
local Vectordata = Object.CharacterController.StepOffset
The current relative velocity of the Character.
Space.Log(data.X)
Space.Log(data.Y)
Space.Log(data.Z)
end
local Object = Space.Scene.Find("SCRIPT_OBJECT")
local newVector = Vector.New(5,5,5)
local Vectordata = Object.CharacterController.Velocity
|