trafcio

I have got problem with Bone Follower Component.

Spear after hitting collider (with Bone Follower Component) was attached as child to this collider [Bullet(Clone)].
Screen Shot 2015-06-30 at 10.39.58 PM.png

Screen Shot 2015-06-30 at 10.40.15 PM.png

Which looked like (5.0.1):


After update to 5.1 or 5.1.1. it looks like this:


Now spear is not moving with bone, but in different way. I have no idea where is the problem :/
Bu mesaja eklenen dosyaları görüntülemek için gerekli yetkilere sahip değilsiniz.
Kullanıcı avatarı
trafcio
  • Mesajlar: 32

Mitch

Oooo I love regressions... not... will look into it.
Kullanıcı avatarı
Mitch

Mitch
  • Mesajlar: 978

trafcio

Thank you :-)
Kullanıcı avatarı
trafcio
  • Mesajlar: 32

Mitch

Ermm, are you using the most updated unity runtimes?
Kullanıcı avatarı
Mitch

Mitch
  • Mesajlar: 978

trafcio

I have been using this website: https://github.com/EsotericSoftware/spine-runtimes/tree/master/spine-unity

I downloaded zip file from: https://github.com/EsotericSoftware/spine-runtimes/archive/master.zip and followed steps from Manual Installation

Manual installation
You can also choose to setup and run from the Git files:
1. Download the Spine Runtimes source using git or by downloading it as a zip.
2. Copy the contents of spine-csharp/src to Assets/spine-csharp in your Unity project directory.
3. Copy the spine-unity/Assets/spine-unity to Assets/spine-unity in your Unity project directory.
Kullanıcı avatarı
trafcio
  • Mesajlar: 32

Mitch

hmm, are you 100% sure it didn't just mess with a sprite Pivot point or something along those lines because Unity updated? it looks like the blood is still coming from the right place
Kullanıcı avatarı
Mitch

Mitch
  • Mesajlar: 978

trafcio

I have found the problem. I have got Rigidbody2D attached to spear. In this project I use my own physics, but I need Rigidbody2D for collision detection.
Screen Shot 2015-07-02 at 8.31.33 PM.png

When object does not have any Rigidbody2D component attached, Bone Follower works as usual. However, when Rigidbody2D is attached strange stuff is happening.

After hit I simply destroy the component.
Destroy(GetComponent<Rigidbody2D>());
Thank you for your help Mitch.
Bu mesaja eklenen dosyaları görüntülemek için gerekli yetkilere sahip değilsiniz.
Kullanıcı avatarı
trafcio
  • Mesajlar: 32


Dön Unity