Skip to content

atl/sm/bodies

import "atl/sm/bodies"

Bodies (sm.body).

func Create(position sm.Vec3, rotation sm.Quat, dynamic bool) sm.Body

[server] Creates an empty body to build on (sm.Body.CreateBlock / CreatePart).

func All(world sm.World) []sm.Body

Every body, optionally in one world.

func Creations(bodies []sm.Body) [][]sm.Body

Groups bodies by creation.