hello friends
I try to create a game with the perspective(camera) of soccer games … there are any way to do this … if the answer is yes, how i set the gravity with this configuration [import]uid: 92121 topic_id: 15941 reply_id: 315941[/import]
Can you explain what you mean by perspective/camera, please?
It sounds like you’re talking about 3D, I’m sure you’re not but it would help to know what perspectives you’re looking to try and view. Maybe changing the gravity each time you move the camera?
Peach
[import]uid: 52491 topic_id: 15941 reply_id: 59049[/import]
Something like this?
[lua] local physics = require(“physics”)
physics.start()
physics.setScale( 21 ) – based on playtesting
physics.setGravity( 0, 0 ) – overhead view, therefore no gravity vector[/lua] [import]uid: 12704 topic_id: 15941 reply_id: 59053[/import]
is not 3D but i want create something like isometric or applied some transformation to coordenate system for physic engine for change the gravity direction any idea??? [import]uid: 92121 topic_id: 15941 reply_id: 59161[/import]
@idkokos : Can you explain a little more detail what you are looking to achieve? [import]uid: 84637 topic_id: 15941 reply_id: 59185[/import]
well, i want to create a game where i can simulate some deep and with this in head the bottom depends of the deep because i need the gravity [import]uid: 92121 topic_id: 15941 reply_id: 59194[/import]
Simulate depth? That is possible to do but for a whole soccer game it would take a very, very long time and a lot of fiddling to get right. You’d need a lot of practice and you’d have to change images constantly based on the camera position. [import]uid: 52491 topic_id: 15941 reply_id: 59266[/import]