Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting Questions
#5
Thanks, great info.

*************************************
My questions will relate to the code I posted.
*************************************

1) When I change the rope ends using code, the rope does not show the changes and keeps old ends.

What code can I use to force the rope to "update/show" new ends. Update means refresh the rope with new values.

2) When I use code to put ends on the rope, the ends do not move with the rope. The rope moves, but the ends do not.

3) When creating ends, should I use a prefab or create a object in scene to use as ends.

If I need to create object what should be done with the new object object the rope gets its ends.
If I use a prefab, how can I change material on one item and not have all ropes change material.

4) When I use code to create a rope the rope lies flat on the script, no physics. I cannot pin ends and have
the rope swing. Is there code to wake up the rope?

5) When I use the code to create a rope, the solver shows 0 particles.
Reply


Messages In This Thread
Scripting Questions - by Parker - 13-09-2017, 05:11 AM
RE: Scripting Questions - by josemendez - 13-09-2017, 10:01 AM
RE: Scripting Questions - by Parker - 15-09-2017, 05:36 AM
RE: Scripting Questions - by josemendez - 15-09-2017, 08:14 AM
RE: Scripting Questions - by Parker - 15-09-2017, 01:34 PM
RE: Scripting Questions - by Parker - 16-09-2017, 07:25 PM
RE: Scripting Questions - by Parker - 16-09-2017, 10:23 PM