Cant get MovementOrigin to work, help

I am trying to replicate a feature of the physics feeder. I have a component feeder connected to a 2 way path. The feeder works. However, i want to place the object with an offset. It should be simple but i cant get it to work at all. What am i missing?

part = creator.create()
matrix = part.MovementOrigin
matrix.translateRel(0,500,0)     
part.MovementOrigin = matrix

Hy,

do this change something:

part = creator.create()
matrix = vcMatrix.new(part.MovementOrigin)
matrix.translateRel(0,500,0)     
part.MovementOrigin = matrix
part.update()
#part.rebuild() #If update not work try rebuild instead

Regards
Feature

I found the solution…

I had to check the “retain offset” bool of the 2way path. I feel stupid now.

1 Like