Cant get "Weapon" to jump with "Player"

MisterSinister

  • Posts: 1
So basically, how can you get a weapon to jump with your primary player?

I set the same walk and jump behaviors to my weapon that my main player has. The player and weapon move together great but when I want to jump, the weapon stays on the ground while the player jumps. I've set the same gravity/weight/physics settings to both actor and weapon.

I'm stumped =/

Any help would be appreciated!

Epic428

  • Posts: 1118
You can't use those behaviors for the weapon. Because the weapon isn't "on the ground" it won't jump. You need to actually make the weapon follow the player by using a command in a code block to make it follow, or by constantly setting its x/y values. I'm sure there may be another method, but I can't think of one right now.
James Moore - Official Support & Documentation.
We cannot and will not respond to PM's asking questions. Please make a new thread in the forums if you have any questions, Thank you.
For better support and faster response times, please post your logs regarding any Stencyl related issues. Debug > Logs > Generate Logs