Changing the geometric position

Post and discuss features you'd like to see in the BEPUphysics library.
Post Reply
imtrobin
Posts: 101
Joined: Thu Jun 11, 2009 3:03 am

Changing the geometric position

Post by imtrobin »

Hi

I like to request for a vector3 offset to adjust the geometric position so it is not in the centre of the shape. PhysX has it in localPose when creating the shape.
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Changing the geometric position

Post by Norbo »

The centerPosition will not support an offset as it is intended to be the actual center position of the collision shape. Some other convenience functionality that wraps the center position is possible, but it would need to be designed in a clean and straightforward way. I'm wary of continuing the 'giant list of properties' trend in the Entity class.

In what way would you be using this functionality? Would it be a simple rendering offset convenience, or is there some deeper functionality that you need?
imtrobin
Posts: 101
Joined: Thu Jun 11, 2009 3:03 am

Re: Changing the geometric position

Post by imtrobin »

Yes ,it is for rendering offset as objects can be centred as the base for rendering, not the centre.
Post Reply