playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
created game objects like (clone) being parented when its created
Poll
how can i make an object that is created as a clone to be parented to another object
don't know
0 (0%)
don't kow
0 (0%)
Total Members Voted:
0
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: created game objects like (clone) being parented when its created (Read 1234 times)
Taco_man121
Playmaker Newbie
Posts: 3
created game objects like (clone) being parented when its created
«
on:
April 03, 2016, 11:41:20 AM »
so lets say i have a character whit a hand gun aim animation
and i have a weapon as separate game object (hand gun)
so what i mean is there a way to create the hand gun from a prefab and parent it to he characer
any help?
Logged
Chizzler
Junior Playmaker
Posts: 67
Re: created game objects like (clone) being parented when its created
«
Reply #1 on:
April 03, 2016, 08:05:41 PM »
Store the character as a variable "go_Character"
Use "Create Object" to spawn your gun and store it as a variable "go_Gun"
Use "Set Parent" on "go_Gun" setting the parent as "go_Character"
«
Last Edit: April 03, 2016, 08:38:55 PM by Chizzler
»
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
created game objects like (clone) being parented when its created