Especially if it's a simple example you should provide the complete .love package.. else it's just guessing.
Did you attach the camera to the scene before drawing your rectangle?
Like shown in http://vrld.github.io/hump/#hump.cameracamera:attach
Search found 23 matches
- Tue Jul 28, 2015 3:02 pm
- Forum: Support and Development
- Topic: [SOLVED]Love2d physics body and hump camera rotation
- Replies: 9
- Views: 6097
- Tue Jul 28, 2015 2:45 pm
- Forum: Support and Development
- Topic: [SOLVED]Love2d physics body and hump camera rotation
- Replies: 9
- Views: 6097
Re: Love2d physics body and hump camera rotation
Does your getAngle() function return radians? Maybe you need to convert from degrees.
angle in rad = angle in degree * (pi/180)
edit: sorry I just checked and the function indeed returns radians. maybe post more code.
angle in rad = angle in degree * (pi/180)
edit: sorry I just checked and the function indeed returns radians. maybe post more code.
- Mon Jul 27, 2015 3:37 pm
- Forum: General
- Topic: Avatars: OBEY!
- Replies: 763
- Views: 1019352
Re: Avatars: OBEY!
So I just joined the forum and thought this would be a good way to introduce myself.
Hi ! Also awesome stuff around here!
Hi ! Also awesome stuff around here!