Rolling rock, psuedo physics

Get help using Construct 2

Post » Wed Feb 13, 2013 12:10 pm

Hello All,

I was wondering if there's a way to make a realistic rolling rock, that acts as if it has physics but really does not?

I'd like to make a rock roll forwards on a flat solid platform, and have found I can achieve this with the bullet behaviour. However, some of my platforms are inclined and I would like the rock to roll both forwards and down, following the layout of my platforms and simulating physics behaviour.

I've decided not to use physics objects for this, as the project is for mobile devices, and I may have many rolling objects. All of the information I can find suggests that physics behaviour is very CPU intensive and so should probably be avoided on mobile devices.

Thanks in advance for any help you can offer.
B
10
S
2
G
1
Posts: 11
Reputation: 859

Post » Wed Feb 13, 2013 3:12 pm

You could set an invisible Sprite at the start of the incline, and when the boulder "collides" with it, change the angle of movement on the boulder to that of the incline.
B
6
S
1
Posts: 67
Reputation: 986

Post » Wed Feb 13, 2013 3:15 pm

You should be able to get somewhat closer using damping, etc... but not sure if you will be able to easily get the same realistic rolling reactivity that you would with physics...
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418

Post » Wed Feb 13, 2013 4:05 pm

Thanks for the advice @grimwolf, @BluePhaze. I'll take a look into your suggestions.
B
10
S
2
G
1
Posts: 11
Reputation: 859


Return to How do I....?

Who is online

Users browsing this forum: agittm, mercuryus and 17 guests