Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione statica Condiviso

NanosMath.LocalToWorld

Takes a local position and rotation relative to an actor, applies the actor's location, rotation, and scale to compute world-space location and rotation.

Non ancora tradotto

Sintassi

Lua
NanosMath.LocalToWorld(local_location, local_rotation, actor)

Parametri

Nome Tipo Predefinito Descrizione
local_location Vector The local location to convert
local_rotation Rotator The local rotation to convert
actor Actor The actor whose transform defines the local space

Valore restituito

  • Vector the location in world coordinates
  • Rotator the rotation in world coordinates