Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Scripting rod forces
#1
Hi, I have got several quesions about scripting rods.
  1. Is there valid way to calculate rod tension? For example I need to know if rod is pressed against the wall and it's being compressed. I tried to compare compressed distances, but with chain constraint it does not work.
  2. Is there way to calculate pressure against softbody or get it from softbody directly?
  3. Is it possible to make different parts of rod have different elasticity? There is rotational mass, but it's hard to balance and there can't be huge difference in mass (1:10). Sometimes even if difference is not huge, the rod becomes wiggly and can't stop.
  4. Is there way to damp rod without touching solver main parameter (damping)? I guess I could write script just for rod to reduce velocities every step, but it also affects other forces.
  5. What is difference between changing particle velocity and externalForces?
  6. Is it possible to change rod default (initial) shape during runtime? There are various properties like startPositions, endPositions, restPositions, any many other, but some of them has no effect and others are not what would be expected. I would expect particle delta to show something, but I think they are reset during simulation.
  7. Is there way to "pin" my burst job to main job queue? I wish I could just add my job handle to be executed with all other stuff without need to complete job instantly.
Reply


Messages In This Thread
Scripting rod forces - by Qriva0 - 08-08-2025, 06:33 PM
RE: Scripting rod forces - by chenji - Yesterday, 03:18 AM
RE: Scripting rod forces - by josemendez - Yesterday, 08:31 AM
RE: Scripting rod forces - by Qriva0 - Yesterday, 11:14 AM
RE: Scripting rod forces - by josemendez - Yesterday, 11:26 AM
RE: Scripting rod forces - by Qriva0 - Yesterday, 12:25 PM
RE: Scripting rod forces - by josemendez - Yesterday, 12:48 PM
RE: Scripting rod forces - by Qriva0 - 11 hours ago