Jump to content

Search the Community

Showing results for tags 'constraint break'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
    • Marketplace
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering + Solaris!
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Product Groups

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Name


Location


Interests

Found 1 result

  1. Hello OF, I have a small issue which I hope you can help with... I am creating attributes at SOP level to control the breaking of constraints in a SOP Solver in DOP's using the following VEX code in an attribute wrangle connected to 'relationship geometry' of the SOP solver. if (s@constraint_name == "pin_between"){ if ((f@torque>@break_torque||@angle>@break_angle||f@force>@break_force)){ s@constraint_name = "pin_broken"; i@breakframe = @Frame; } } My issue is that when I disable one of these attributes at the SOP level, the sop solver seems to interpret it at a value of 0, and the objects constraint will be completely removed on collision. Is there a better function to use than 'or' in this situation? An 'if else' seems more appropriate, but I am unsure of the syntax of that in this situation within VEX. Any help would be greatly appreciated. Many thanks in advance.
×
×
  • Create New...