Hi guys!
Is there a way to attaching an image to a body or a shape?
attaching an image with a body?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: attaching an image with a body?
Using your own tables/objects/whatever-representation-you-use.
Internally love.graphics and love.physics are not connected. (on purpose)
Internally love.graphics and love.physics are not connected. (on purpose)
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: attaching an image with a body?
Drawing an image for a body goes something like this:
Code: Select all
love.graphics.draw(theimage, thebody:getX(), thebody:getY(), thebody:getAngle())
Help us help you: attach a .love.
Who is online
Users browsing this forum: Ahrefs [Bot] and 3 guests