Physics , how to let a ball roll freely.

0 favourites
  • 7 posts
From the Asset Store
Who wants to be a Millionaire Clone. An educational coding source
  • 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 <img src="smileys/smiley4.gif" border="0" align="middle" />

  • 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.

  • 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.

  • Make sure the collision polygon is circle.

  • 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.

  • 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*-

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)