⚲
Class:
Entity
Lua
C++
Edit
Entity:Translate
This method repositions an entity relative to its parent orientation.
Syntax
Translate
(number x, number y, number z)
Translate
(number x, number y, number z, boolean global)
Translate
(
Vec3
translation)
Translate
(
Vec3
translation, boolean global)
Parameter
Description
translation, (x, y, z)
movement to apply to the entity
global
if set to false movement occurs relative to the parent space, otherwise world space is used
Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation