Physics , how to let a ball roll freely.

Get help using Construct 2

Post » Sat Dec 15, 2012 4:40 pm

Say I have a ball and a sloped objected.
Instead of the ball rolling down the sloped object it just stays still on the side.

How would I go about making it so that the ball rolls down the hill like it should in real life?

I justed started messing around with construct and im having lots of fun
but I can`t seem to figure this out .Its probably super simple as well.

If you can help that would be great iCynexe2012-12-15 16:40:39
B
2
Posts: 3
Reputation: 781

Post » Sat Dec 15, 2012 5:17 pm

Try messing with some of the objects physics properties. I just wondering the same thing yesterday when I made my first ball with physics. I adjusted the density and elasticity etc. Green advice from a noob, but I hope it helps.
B
20
S
2
Posts: 257
Reputation: 2,431

Post » Sat Dec 15, 2012 5:31 pm

Have u put the behaviour "physics" to the spite of the ball? If u dont change anything else, it should work when u press play... And than change the collision polygon to circle.
B
16
S
4
Posts: 35
Reputation: 2,292

Post » Sat Dec 15, 2012 7:34 pm

Make sure the collision polygon is circle.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sat Dec 15, 2012 11:26 pm

I got it to work using physics,if I use physics with platform it makes the object shake.. So can you use physics to move your object like platform did?
When I used physics I could spam w and it would make my object jump constantly in the air which is not what I wanted.
B
2
Posts: 3
Reputation: 781

Post » Sun Dec 16, 2012 12:53 am

easy to edit , just make an action that detects a collision between the ground and the ball and add it to your jumping event ...

If Ball is overlapping Ground
On W pressed
-* Remplace by a jump event*-
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Sun Dec 16, 2012 2:34 am

Yeah I realised that say I have lots of objects do I have to do that for everyone? Is there any thing that would let me say
if ball is colliding with physics objects(any object)
then pressing w will make you jump.

Is that possible xD?iCynexe2012-12-16 02:35:07
B
2
Posts: 3
Reputation: 781


Return to How do I....?

Who is online

Users browsing this forum: fredriksthlm, MPPlantOfficial, Yahoo [Bot] and 20 guests