Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  2D End Prefab
#1
Triste 
Hi! Gran sonrisa  I'm trying to use Obi Rope in a 2D Unity environment.



What I want to do is attach a GameObject prefab with a Sprite Renderer on it to the Obi Rope's EndPrefab variable.

So I did, but the problem with that is it isn't oriented towards the camera visually.

So I created a GameObject child to the prefab I stuck to EndPrefab where I then moved the Sprite Renderer to and rotated it manually.

This had some promising results until I played the Scene.

As the rope rotates around in 2D space (X, Y), the EndPrefabInstance rotates around in the 3rd Dimension like a drill.

I want to keep the Sprite facing towards the camera at all times and not rotating like a drill at the end of the rope.


I have attached a screenshot example to illustrate what I mean,


Has anyone solved this problem, or does anyone know of a way to solve this?


Thank you for your time and assistance!


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
2D End Prefab - by AAFever - 18-11-2018, 04:47 AM