Hi
Is it possible to define a vertex group on an object and in-game have another object snap to its location?
For example, if I have a cube and whenever it spawns into a scene I will create an empty and have the empty snap to a vertex group that the cube has?
Thanks
what is your goal? attachment points?
is there an animated armature?
if the points are static, just use an offset vector local
to get a local from a point in space
point = someVector
local= point-object.worldPosition
local= object.worldOrientation.inverted()*local
this way you have a point local to an actor
you can go the other way as well
worldLocal = object.worldPosition+(object.worldOrientation*local)