Notifications
Clear all

[Closed] Moving a helper when geometry changes

How do I move a helper when the geometry of the scene changes?
I want to keep my custom helper object at geometry.max.

I’ve got a when statement setup but I can’t figure out how to actually set the .position and .rotation of a helper object. They don’t seem to have those properties by default. Eg. I’m extending a dummy object and all it has is a .size property.


plugin Helper Constraint 
name:"V22Constraint" 
classID:#(0x6b4889fb, 0x5da01536) 
category:"Standard" 
extends:dummy
version:1
( 


when geometry geometry changes id:#constraint do (
	-- this.pos = geometry.max
)