Home Technical Talk

Physx help!!

Hi, i am trying to make a rope constrain to a hook with physx... problem is i have no idea how physx works... also would it be better to use cloth or physx? thanks and any tutorials on Physx or Cloth that could come in handy please post. here is an image of what i am working on: Forgive the spelling of Rope :poly124:

roap.png

Replies

  • HornyRhino
    can anyone help? basically i want to use Physx or Cloth Mod to make the rope fall down into place... but i have no idea how to do that... can anyone please help?
  • MiAlx
    Offline / Send Message
    MiAlx polycounter lvl 10
    Hey man, try this:

    select the rope, make it ncloth

    select the hook, make it passive (i.e. a collision)

    select the vertices of the hook that you want to be constraint, toggle select the hook (select vertices, then go to object mode and THEN select the hook), nContraints -> point to surface

    play with the dynamic attributes of the RopeShape, to make it stiff, makes sure you have a relative high compession and stretch resistance (actually its all about the comp/stretch ratio) and raise the damping value, to fit your wanted result.

    There are tons of tuts out there that explain the attributes and ncloth in general, take a look at them.

    In my experience, nCloth is pretty much "playing" around with the attributes until it behaves the way you want it to.

    There are some presets saved in maya, try to use them for a jump-start and then tweak them towards your liking!

    Hope that helped!

    cheers :D
  • HornyRhino
    Hey MiAlx... thanks man... will def give it a try... also a quick question... what is the difference between nCloth and Physx? i knw nCloth is used for Cloth on Characters, tables or any other type of cloth but what is Physx for? like how can i apply it to my everyday use? thanks man
  • MiAlx
    Offline / Send Message
    MiAlx polycounter lvl 10
    Hey Rhino,

    Well.. from what i know, physX is all about physics simulation of rigid bodies.

    For instance:

    PhysX was used for the split second game trailer.
    A car racing down a street then an explosion from under the car sent it flying and crashing across the street into a building.

    Destruction of all kinds:

    Buildings collapsing

    Craters in the ground

    Ground cracking

    A table with vases, glasses and dishes placed on it with a rock falling on it, breaking
    everything etc. etc.

    Thats some uses of it amongst others.

    edit:

    some more:

    gravity related stuff of all kinds, stuff tilting, tipping over,
    stuff rolling across the floor etc.

    collision related stuff, something maybe being thrown against the wall etc.

    But Cloth, Fluids, particles (e.g. explosions), hair, fur and the above mentioned, are all part of physX.
Sign In or Register to comment.