Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Creating obi rope prefab
#2
(02-12-2020, 08:17 PM)amismail Wrote: Hi there,
I tried to search the forum for solution to my issue but the forum is huge so I am posting this
I am facing an issue with creating unity prefab that include obi rope with 'obi rope mesh renderer' component, the problem is that each time I try to apply the 'deformedMesh' in the 'Mesh Filter' component to the prefab I get the following message:
"a reference to an object in the scene can't be applied to the prefab asset", and as a result when I try to instantiate the prefab in runtime the rope doesn't appear, I have tried to search for the deformedMesh asset but I didn't find it in the project or the scene please help me to resolve this issue as this is essential for my project, thanks in advance

The rope’s “deformableMesh” is created entirely at runtime. Its not an asset or part of a scene, so it can’t be applied to a prefab or replaced by another mesh.

What’s your use case? If you want to use a custom mesh for the rope, you should use ObiRopeMeshRenderer instead. The extruded renderer generates its own mesh by extruding a rope section, as explained in the manual.
Reply


Messages In This Thread
Creating obi rope prefab - by amismail - 02-12-2020, 08:17 PM
RE: Creating obi rope prefab - by josemendez - 02-12-2020, 09:02 PM
RE: Creating obi rope prefab - by amismail - 04-12-2020, 06:35 PM
RE: Creating obi rope prefab - by josemendez - 04-12-2020, 09:42 PM
RE: Creating obi rope prefab - by josemendez - 04-12-2020, 09:44 PM
RE: Creating obi rope prefab - by amismail - 07-12-2020, 08:32 PM
RE: Creating obi rope prefab - by amismail - 07-12-2020, 10:48 PM
RE: Creating obi rope prefab - by amismail - 10-12-2020, 11:37 AM
RE: Creating obi rope prefab - by josemendez - 10-12-2020, 12:55 PM
RE: Creating obi rope prefab - by amismail - 10-12-2020, 06:47 PM
RE: Creating obi rope prefab - by josemendez - 11-12-2020, 10:04 AM
RE: Creating obi rope prefab - by amismail - 14-12-2020, 04:49 PM