Use a Controller for Beam Properties

Discussion in 'Programming' started by 8coibaf, Feb 21, 2020.

  1. 8coibaf

    8coibaf
    Expand Collapse

    Joined:
    Dec 29, 2018
    Messages:
    11
    Hello, is it possible to use a controller to dynamically change beam properties such as Stiffness and Damping of a particular Beam?
     
  2. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,600
    I believe so. I haven't tried, but those two properties (beamSpring and BeamDamp) should be adjustable with obj:setBeamSpringDamp()

    I'm not very certain about the arguments. Something like this I gather:
    Code:
    obj:setBeamSpringDamp(beam.cid, spring, damp, -1, -1)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice