A question on the DYN framework.
Let's say that I build a unit cube ( min 0,0,0 max 1,1,1 ) and than
move the unit cube from the origin to say (3,4,1) by calling
translate_topods_from_vector.
After I do so, do I need to move my ode.GeomBox as well in order to
shadow it correctly, or does the DYN framework takes care of this?
I suppose I do not, judging from the start_open_loop method, correct?
d = self.dyn_context.add_shape(self.box_occ)
self.box_ode = ode.GeomBox(self.dyn_context._space,
lengths=(self.width,self.depth,self.height)
)
#self.box_ode.setPosition( ( self.position-selfsize).Coord() )
self.box_ode.setBody(d)
Thanks,
-jelle
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users