Hello,
It is possible to flip a slot in unity? So for example a logo image dont get a mirror effect when the skeleton is flipped, and stay always the right way?
Stranica: 1/1.
decoamorim
Developer/Founder at DCF Studios
http://www.studiosdcf.com/
Author of
Cruz Brothers[PS4 / STEAM] [upcoming on XboxOne] - http://www.cruzbrothersgame.com
Bunny Battle Arena[STEAM] - https://store.steampowered.com/app/872340/Bunny_Battle_Arena/
http://www.studiosdcf.com/
Author of
Cruz Brothers[PS4 / STEAM] [upcoming on XboxOne] - http://www.cruzbrothersgame.com
Bunny Battle Arena[STEAM] - https://store.steampowered.com/app/872340/Bunny_Battle_Arena/
6.5 years ago
-
decoamorim - Postovi: 130
Pharan
You flip the bone. Not the slot.
If you need only one image to flip without affecting other images, give it its own bone that doesn't have child bones. That parent bone can still have siblings, you'd just be moving the slot one bone deeper the hierarchy.
If you need only one image to flip without affecting other images, give it its own bone that doesn't have child bones. That parent bone can still have siblings, you'd just be moving the slot one bone deeper the hierarchy.
Spine-Unity Docs Repo, and check out the Unofficial Spine Users Tumblr.
6.5 years ago
-
Pharan - Postovi: 5366
decoamorim
Oh...make sense...
The coding here would be something like
Skeletonrender.findbone("name").transform....
I dont know the exact words here but its something in this logic?
The coding here would be something like
Skeletonrender.findbone("name").transform....
I dont know the exact words here but its something in this logic?
Developer/Founder at DCF Studios
http://www.studiosdcf.com/
Author of
Cruz Brothers[PS4 / STEAM] [upcoming on XboxOne] - http://www.cruzbrothersgame.com
Bunny Battle Arena[STEAM] - https://store.steampowered.com/app/872340/Bunny_Battle_Arena/
http://www.studiosdcf.com/
Author of
Cruz Brothers[PS4 / STEAM] [upcoming on XboxOne] - http://www.cruzbrothersgame.com
Bunny Battle Arena[STEAM] - https://store.steampowered.com/app/872340/Bunny_Battle_Arena/
6.5 years ago
-
decoamorim - Postovi: 130
Pharan
Yeah. SkeletonRenderer has a skeleton. Should be able to track down what you need by reading up on the code of each class down that line. It's very logically arranged.
I think bone flip is getting phased out in Spine 3, so maybe use negative bone scale instead?
I think bone flip is getting phased out in Spine 3, so maybe use negative bone scale instead?
Spine-Unity Docs Repo, and check out the Unofficial Spine Users Tumblr.
6.5 years ago
-
Pharan - Postovi: 5366
Mark topic unread
• Stranica: 1/1.
Natrag na Unity
- Vremenska zona: UTC