Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: dbsrb43 on July 08, 2012, 11:45:43 PM

Title: how do i delete an object?
Post by: dbsrb43 on July 08, 2012, 11:45:43 PM
How can i delete an object in playmaker or make an object where i wanted when collsion happens???
I know how to ring a sound and do all kinda stuff when object collide to a plane, but i don't see how to delete or create a new material in playmaker
can anybody help?
Thanks in advance
Title: Re: how do i delete an object?
Post by: jeanfabre on July 09, 2012, 04:09:29 AM
Hi,

 A bit confused, so let me try to answer, if this is not what you are after, let me know.

--  to delete an Object use the action "destroy Object" or "destroy Self"

-- to create an Object, use the action "Create Object" and reference a prefab or another gameObject to spawn

regards materials, could you elaborate on why you want to create a material at run time?

bye,

 Jean