How do I progressively rotate something?

Get help using Construct 2

Post » Thu Apr 30, 2015 9:23 am

I'm experimenting with making a physics game where the ball rolls down a structure, and some platforms that it rolls across can be changed or manipulated by pressing buttons. The problem I'm having is that when the button is pressed, the platform it correlates to changes to its set angled on the next frame. This obviously has some effects on how the ball handles the physics of the collision between itself and the moving platform.
Is there a way of controlling how many frames it takes for a platform to move or rotate? What would be the optimal solution to handling moving platforms with physics?
All help appreciated.
B
5
Posts: 26
Reputation: 285

Post » Thu Apr 30, 2015 9:28 am

Message: miketolsa can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
You can go to - http://c2rexplugins.weebly.com/

& search Movement - angle - look for [behavior] rex_rotateto

I think the above behavior would help you to control you angles & frames .... though you have to figure our using their help section .....
Image
B
36
S
13
G
1
Posts: 99
Reputation: 3,051

Post » Thu Apr 30, 2015 9:56 am

Don't go apply a third-part behavior on top of the physics behavior you'll just end up in troubles.

You likely need to learn to apply a force/impulse/torque at angle as explained in the advanced physics tutorial.

It also depends on how you implemented things so far, so likely you should post your capx to let us know what is the state of your project and what answer would be the most appropriate.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
284
S
109
G
91
Posts: 7,317
Reputation: 87,483


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests