Hello.I’m a beginner with unity and I want to add an object to other with Scripting (if it is necessary),
I want to change the animation to the player when it select a weapon (I did it). But now I´d want to add his weapon.
How do I do it? Thanks
PD: I’ve posted this here because I think I need an script to do it.
what do you mean? like you want your character to hold a weapon? This can be done through parenting and binding, there are many other ways to do it but this probably the easiest way. another way ( if you don’t have a vast selection of weapons) would be to already place the weapon then use renderer.enabled = true/false; theres quite alot scripts around this forum that will do that so try using the search bar to find one 