• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android Gravity changing with angle

R

Ruqer

Guest
Hey! I have a problem with angle which should change gravity and angle - you know that spinning type of games where block falls down when for example we put room upside down.

view_angle[0] +=3.5
gravity_direction -=3.5
I use this for changing gravity and angle(basically thats full code xD +
gravity = 0.6;
gravity_direction = 270;
This in create in player object.

The problem is that it works perfectly for windows but it didnt in HTML5(im testing here virtual buttons) but the room doesnt want to change his angle. Player gravity is changing i guess but room stay at his place(in windows whole room is chaning angle-spinning- with gravity.).

Do you know how to make room spinning at html5 and android? Or other way to solve my problem(you guys are smarter, so maybe you have other ideas :p )
 
Top