Collision Shape
Hey Guys:
I'm learning to program with gamesalad and I have one cuestion for you:
How can I do Gs use an irregular shape to collide an actor (PNG image) with another actor (PNG images with transparency)? I've seen in GS you can choose only rectangle or circle.
I have a ball and a triangle png images but I can't do a good collision. Any suggestion?
I'm doing something wrong .... right?
I'm learning to program with gamesalad and I have one cuestion for you:
How can I do Gs use an irregular shape to collide an actor (PNG image) with another actor (PNG images with transparency)? I've seen in GS you can choose only rectangle or circle.
I have a ball and a triangle png images but I can't do a good collision. Any suggestion?
I'm doing something wrong .... right?
Comments
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
I hope GS allow custom collision in the future.
Thanks RKS and Braydon_SFX.
You constrain invisible actors together to build the shape you want viola!
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Also, rotation will not work properly if you do this.
Actually, anyone know how to make rotation work with constraints? Would be good to know.
-Thomas
yes by getting the starting angle and using sin ans cos. might need to plug magnitude somewhere in there as well but not sure havent done this in a long time
Sounds kinda messy...
Just some trig.
Search: DEMO_Wielding_Lightsaber in the new section of the gamesalad creator. Its a free demo that constrains a lightsaber to the player and has rotation working with sin and cos
cheers