Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Inclined plane 3d-physic simulation

  1. Nov 27, 2003 #1
    I try to program a 3d-physic simulation, with bouncy collisions, friction, etc. and i have a problems with splitting forces at an inclined plane. i know that

    [tex] F_n = F_g * sin(\alpha) [/tex] and
    [tex] F_p = F_g * cos(\alpha) [/tex]

    [tex] F_n [/tex] ... normal force
    [tex] F_p [/tex] ... parallel force
    [tex] F_g [/tex] ... gravity force

    but i would need this in general, in 3d and working in every dircetion. i don't know the angle of my collosion, but a normal
    [tex] \vec{n} [/tex].

    [tex] \vec{F_n} = \bar{F_g} * \vec{n} [/tex]

    but i can't think of how to do the paralell force.
    can anybody help?
  2. jcsd
  3. Nov 27, 2003 #2

    Doc Al

    User Avatar

    Staff: Mentor

    I'm not sure what you're trying to do, but if [tex]\alpha[/tex] is the angle the inclined plane makes with the horizontal (and assuming gravity acts vertically):
    [tex] F_n = F_g * cos(\alpha) [/tex] (directed out of the plane) and
    [tex] F_p = F_g * sin(\alpha) [/tex] (directed down the plane)
  4. Nov 28, 2003 #3
    I would normalize the vector from the point of impact to the center of mass of the colliding object. With a sphere, it should be simply the normal of the inclined plane.

    The gravitational force tangential to the inclined plane will be the original graviatational force vector MINUS the Dot Product of the original gravitational force vector and the plane normal (magnitude) multiplied by the plane normal (direction).

    (sorry if that is confusingly displayed - I am a bit clumsy with this message stuff...)

    But it is easy enough to work out on a sheet of paper...

    try to avoid using any sines or cosines etc...
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook