DecayKnowledgebase
functiongenerated

Transform.to_local

A world-space Vec3 point measured in this object's own space: its position subtracted, its world rotation undone and its world scale divided out. What a point on a moving, turning ship is in the ship's own blocks. Reads only; zero scale is an error.

Signature

Transform.to_local(point: Vec3) -> Vec3

Member of Transform

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b