Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Control of object dragging speed, if gravity set to 0?
Started by AngelaMcCall Dec 19 2019 01:33 PM

No replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

AngelaMcCall

[GLOBAL: userInfoPane.html]
AngelaMcCall
  • Enthusiast

  • 52 posts
  • Corona SDK

Hello,

I have set the gravity of my app to 0, as I want to use collision detection for bricks that I slide about in a game that are controlled by the player.

 

But I want to slow down how fast a player can move the bricks.

 

zGravity is not working as there is no number to compute on, so creates an error.

When the bricks are slid from side to side slowly and steadily all is fine.

When the bricks are moved fast they fly outside of their boundaries.

 

So I want to control the speed they are moved. Any ideas?

 

Thanks

Angela

 




[topic_controls]
[/topic_controls]