Thread
:
How to move an object to the origin and back
View Single Post
11th September 2007, 11:39 PM
#
2
lisa
Senior Member
Professional user
Join Date: Mar 2005
Location: Phoenix, AZ
Posts: 917
Re: How to move an object to the origin and back
What happens if you de-reference the pointer to the object center?
i.e.
Point3 ptCentre = *(ac_object_get_centre(obj));
translate_object_zero(obj);
translate_object(obj, &ptCentre);
lisa
View Public Profile
Send a private message to lisa
Find More Posts by lisa