Query regarding the PositionUpdated event

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
cjhazard
Posts: 35
Joined: Mon Aug 01, 2011 8:05 pm

Query regarding the PositionUpdated event

Post by cjhazard »

The documentation states:

"Fires when the entity's position is updated."

But I'm wondering if it also fires if just the rotation changes and not position?

Thanks.
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Query regarding the PositionUpdated event

Post by Norbo »

Yup, it fires when the 'position update stage' occurs for that entity. That stage includes an orientation update. A slighly loose use of the word 'position' ;)
cjhazard
Posts: 35
Joined: Mon Aug 01, 2011 8:05 pm

Re: Query regarding the PositionUpdated event

Post by cjhazard »

That's great! Thanks Norbo.
Post Reply