09-12-2024, 11:22 PM
(This post was last modified: 09-12-2024, 11:40 PM by IceTrooper.)
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.
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)
2. Particles are not forming where the Rope length has been increased. You can see better in the screenshot what I mean.
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)
4. When I select the ‘Roll-Out Rope’ object on the hierarchy then I get a spam on the console:
I need help with these problems described above. Maybe this can be written better using other APIs, if so I would welcome comments.
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)
2. Particles are not forming where the Rope length has been increased. You can see better in the screenshot what I mean.
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)
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.