Can someone explain to me that co-ordinates of these?
world = love.physics.newWorld(-650, -650, 650, 650)
What do "(-650, -650, 650, 650)" these represent?
Physics
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: Physics
The wiki has all the API functions documented, check there in future. This page is what you're looking for.
Also, use the [ code ] tag for code examples in your posts.
Also, use the [ code ] tag for code examples in your posts.
Re: Physics
The 4 coords represent the min/max bounds of the box2d world:Scriptoar wrote:Can someone explain to me that co-ordinates of these?
world = love.physics.newWorld(-650, -650, 650, 650)
left, top, right and bottom
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Physics
They're only two coordinates though, top-left and bottom-right.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 12 guests