Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: ardacankirkoc on December 19, 2015, 12:30:00 PM
-
Hi,
Creating a new game object during runtime but cloth object does not interact with created object. How do i solve it?
-
Hi,
Maybe this video can help you :
-
Thanks djaydino but this is not help me.
I'm making basketball shooting game and creating ball objects runtime. My problem object colliders does not interact with a cloth (rim net).
How i add collider at runtime?
-
did you rule out physic issues? your ball might be too fast? all so did you double check rigid bodys are aplied? and just to make sure - force them awake since I vaguely remind that they can become a sleep on spawning on some conditions. What happens if you pool the balls - not "create" them at runtime? - just ideas where to put an eye on while searching
-
Hi,
problem is cloth object does not accept runtime created object colliders.
-
But how is it with pooled ones? make a hundred copies at the beginning (in the editor) as children of another object - hide them - get random child - enable/disable by parenting them to the world node/group node them at runtime - shouldn't this work?
-
:-\ I'm sorry I did not explain myself right.
My basic scene shot here:
http://pasteboard.co/cvbxhjj.jpg
-
NOW I get it ;-) sorry no idea mate
Something I did years ago in a different engine had the meshes bind to several bones which were constrained to each other with physic springs there. This way I could interact with the Bone Colliders in real time pretty similar to a ragdoll (but without limits accept spring forces) i.e. the little cubes hat one center and 4 bones towards each corner to simulate a soft body behavior.
Edit: another idea might be to use a clever blend shape system to add deformations - not sure what your goal is though
-
Hey, download overlord from assetstore : https://www.assetstore.unity3d.com/en/#!/content/48768 (https://www.assetstore.unity3d.com/en/#!/content/48768) is free and that model is from BÜMSTRÜM.He used on the overlord cloth and its work fine,good to see how it works with collider and rigidbody.Take a look hope that can help you
-
thanks, but it didn't help me
-
Ok hm look here :
-
in this video objects already exist. I'm creating runtime objects.
http://pasteboard.co/cvbxhjj.jpg
-
i had the same issue, someone fixed that?