Hey!
I have been playing around with the love.physics quite a bit but i have not been able to figure one thing out. Is it possible to change the size (width, height) of a shape after its been created (with for example love.physics.newRectangleShape)?
Thanks a lot in advance!
love.physics, change size after creation?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: love.physics, change size after creation?
You can change the Radius of a CircleShape but I don't think you can modify the dimensions of the Polygon.
- daviddoran
- Prole
- Posts: 30
- Joined: Sun Mar 24, 2013 5:35 am
Re: love.physics, change size after creation?
I think you have to destroy the fixture and create a new fixture with your enlarged shape.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 1 guest