- Home /
Exported Scene in .swf loses 2D colliders ?
Basicly i've got a script attached to the Cylinder in my scene that it can be dragged around now i've created one with 3D Colliders and a scene with 2D Colliders (and ofc rigidbodies)
Now when i run it in Unity it works perfectly fine both of the Examples but when run from the flash player the 2DView seems do nothing at all.
I exported the 3DView first and tried it in flash works fine. Link for {3DView}
Then i tried the 2DView and it seems they cannot be clicked on anymore. Link for {2DView}
Used OnMouseDrag() and OnMouseDown() for dragging the objects
What version of Unity are you running? To my knowledge, Flash export was dropped a long time ago...
Answer by tanoshimi · Feb 25, 2015 at 08:29 PM
"We will keep the current Flash deployment feature set functioning throughout the Unity 4.x cycle" - http://blogs.unity3d.com/2013/04/23/sunsetting-flash/
That was written almost 2 years ago when further support for Flash export was retired. Since the "current" featureset at that time was before 2d was introduced to Unity, that probably explains why it's not supported.
Your answer
Follow this Question
Related Questions
Do you have to have a rigidbody component for collision detection? 1 Answer
Detect collider collision ,identify and access colliding colliders 0 Answers
how to view all forces on rigidbody 2 Answers
Ignore Collision problem 1 Answer
Is it necessary to attach a rigidbody/colliders to child objects? 1 Answer