Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D Xpresso_C4D_ Collision-result-position

  • Xpresso_C4D_ Collision-result-position

    Posted by Juno Jei on March 3, 2023 at 2:06 pm

    Hello! Can you please help me with Xpresso node settings)
    I have a gun animation set up. The 3 gears are spinning (by Xpresso). The third gear should move the red part (above this gear). I set up, but the red part begins to move along the Х axis at once as a collision occurs( it is necessary that it moves during all collision time (third gear – while collision – red part is moving). how can i manage this right way?)
    video by link below) + screen xpresso editor
    thank you!!
    https://drive.google.com/drive/folders/1K3u88RBfJIL_hzcH-5havjjZyEpuee0v?usp=sharing

    Usama Aslam replied 6 months, 1 week ago 3 Members · 2 Replies
  • 2 Replies
  • Brie Clayton

    March 9, 2023 at 10:26 pm

    Hello Juno!

    The video does not have an audio to explain what’s going on in the scene. Can we perhaps get just a little more information on what issues you are having in the Xpresso node settings?

  • Usama Aslam

    March 22, 2023 at 6:03 pm

    Hello Juno,

    Certainly, I can provide some guidance on Xpresso node settings that might help you achieve the effect you’re looking for.

    Based on your description, it sounds like you’re trying to create a collision detection system that moves the red part when it comes into contact with the third gear. Here are some general steps you can follow to achieve this effect:

    Set up a collision detection system: You can use the Dynamics Body Collision node to detect when the red part comes into contact with the third gear. Connect the output of the collision node to the input of the Xpresso node that controls the movement of the red part.

    Create a time-based delay: To ensure that the red part moves during the entire duration of the collision, you can use a Time node to create a time-based delay. Connect the output of the collision node to the input of the Time node, and then connect the output of the Time node to the input of the Xpresso node that controls the movement of the red part.

    Adjust the Xpresso node settings: In the Xpresso node that controls the movement of the red part, you can adjust the settings to ensure that it moves smoothly and in the desired direction.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy