PDA

View Full Version : Changing the center of an ojbect


tgabrielson
02-25-2008, 12:23 PM
Does anyone know how to change the center of an Alice Object?

DickBaldwin
02-25-2008, 01:06 PM
Does anyone know how to change the center of an Alice Object?

I may be wrong, but I don't believe that is possible to change the center of an object without creating and importing your own 3D models. Of course, there are arithmetic approaches that you could use to create an "apparent center" that is different from the actual center but that would be very application specific and would probably also be very tedious.

I will be very interested if someone comes up with a way to change the center without creating a new object, because there are some objects for which my choice of a center would be different.

Dick Baldwin
Free Alice tutorials: http://www.dickbaldwin.com/tocalice.htm
Free programming tutorials: http://www.dickbaldwin.com/toc.htm

DrJim
02-26-2008, 09:31 AM
I also don't know of any way to change the center of an existing object, although that would be a very nice capability to have. (As an aside, if you do create your own objects, getting the center located correctly is one of the most critical steps.)

What I tend to do when I want objects with different centers to move in a similar manner is create "center references" for the "non-standard" objects (I usually use a small sphere) and then make the reference the vehicle for the object. Not the greatest solution, but it does let you plan common movement.

Added Note: You can make the reference center part of an object's hierarchy by importing it in .ase format (and as a "texture" :rolleyes: )- see example and the explaination of that approach elsewhere in the forum. I have also posted .ase versions of several simple objects that could be used.

4RM0
02-26-2008, 09:32 PM
I also don't know of any way to change the center of an existing object, although that would be a very nice capability to have. (As an aside, if you do create your own objects, getting the center located correctly is one of the most critical steps.)

What I tend to do when I want objects with different centers to move in a similar manner is create "center references" for the "non-standard" objects (I usually use a small sphere) and then make the reference the vehicle for the object. Not the greatest solution, but it does let you plan common movement.

Added Note: You can make the reference center part of an object's hierarchy by importing it in .ase format (and as a "texture" :rolleyes: )- see example and the explaination of that approach elsewhere in the forum. I have also posted .ase versions of several simple objects that could be used.

Many thanks for the tip, at least it's a partial solution =\.

rich0e0rick
03-06-2008, 07:44 PM
What 4RM0 said is what i would do (the sphere as a new center).....

:D Rick :D

4RM0
03-08-2008, 02:59 AM
What 4RM0 said is what i would do (the sphere as a new center).....

:D Rick :D

Gee thanks, but I wasn't the one who suggested that.