Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Barrier belt - changing length and moving anchors
#1
Pregunta 
Hey, I would like to, in my VR app, make a barrier belt, like in cinemas at the box office or airports to cordon off aisles.

[Image: AIG2730470.jpg]





This is my script that I made along the lines of a similar script I found in examples (grapling hook) (I cannot post it in the message because of error)
https://pastebin.com/sC54e9fh





I noticed three main problems:


1.  A visual bug, as if the UV scale increases indefinitely. I have no idea what this could be. (video in attachments)






[Image: 2tIK7eT.png]






[Image: PxpYDYM.png]






[Image: HmqTk1Q.png]







[Image: eW9CFzY.png]




2. Particles are not forming where the Rope length has been increased. You can see better in the screenshot what I mean.




[Image: U0eUoRo.png]






3. When I move an object quickly in the editor, the Obi Particle Attachment doesn't seem to keep up. Does this problem only occur in the editor? Is there any way to improve it? (video in attachments)




[Image: kDJeZq4.png]






4. When I select the ‘Roll-Out Rope’ object on the hierarchy then I get a spam on the console:



Code:
Look rotation viewing vector is zero

UnityEngine.Quaternion:LookRotation (UnityEngine.Vector3)

Obi.ObiRopeCursorEditor:DrawGizmos (Obi.ObiRopeCursor,UnityEditor.GizmoType) (at Assets/Obi/Editor/RopeAndRod/ObiRopeCursorEditor.cs:91)

UnityEngine.GUIUtility:ProcessEvent(int,intptr,bool&).





I need help with these problems described above. Maybe this can be written better using other APIs, if so I would welcome comments. Sonrisa
Reply


Messages In This Thread
Barrier belt - changing length and moving anchors - by IceTrooper - 09-12-2024, 11:22 PM