I feel like I must be missing something, but using the impact physics, how do you rotate a body/entity? When I update the angle of the entity, it rotates the sprite, but doesn't seem to rotate the body itself.Am I missing something?
--
You received this message because you are subscribed to the Google Groups "Phaser 3 Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phaser3-dev+unsubscribe@googlegroups.com.
To post to this group, send email to phase...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/phaser3-dev/ab903587-2487-43bc-bfa8-a05305d178f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Impact doesn't support rotated bodies (just like Arcade doesn't in v2). It's pure AABB only.
Photon Storm Ltd.Skype: richard.daveyTwitter: @photonstorm
Registered in England and Wales.Company ID: 8036404VAT Number: 136 4333 27
On 12 September 2017 at 13:58, Ben Sutton <forgi...@gmail.com> wrote:
I feel like I must be missing something, but using the impact physics, how do you rotate a body/entity? When I update the angle of the entity, it rotates the sprite, but doesn't seem to rotate the body itself.Am I missing something?
--
You received this message because you are subscribed to the Google Groups "Phaser 3 Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phaser3-dev...@googlegroups.com.