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

NanosMath.RelativeTo

Calculates the location and rotation relative to an actor

Non ancora tradotto

Sintassi

Lua
NanosMath.RelativeTo(location, rotation, actor)

Parametri

Nome Tipo Predefinito Descrizione
location Vector The location of the new system
rotation Rotator The rotation of the new system
actor Actor The actor to be translated to the new system

Valore restituito

  • Vector the location relative to the actor
  • Rotator the rotation relative to the actor