Skip to content

2.11.5

Compare
Choose a tag to compare
@alexandrecurtelin alexandrecurtelin released this 13 Apr 11:14
· 31 commits to master since this release

Added a feature to add "sticky" game objects.
Useful to add a game object that acts as a GUI node, but can still interact with other gameobjects from the same collection.

Example:

msg.post("/camera#script", "add_sticky_go", {
	go=hash("/bin"), -- the game object you want to display as sticky
	camera=hash("/camera"), -- the ID of the camera
	position = vmath.vector3(1120,80,.3) -- The position on screen
})