Topic: Setting up HitBoxes

Hello,
I am having trouble setting up hitboxes, problem is if I set hitboxes on a character without changing its rotation to 90 degree, they all align properly, but as soon as I set it to 90 degree as suggested in the tutorial video all the hitboxes align in the middle. Help please!

https://www.dropbox.com/s/hwxv745ygp8on … 1.png?dl=0

https://www.dropbox.com/s/kweii5j3vtsbc … 2.png?dl=0

Share

Thumbs up Thumbs down

Re: Setting up HitBoxes

bm_farooqui wrote:

Hello,
I am having trouble setting up hitboxes, problem is if I set hitboxes on a character without changing its rotation to 90 degree, they all align properly, but as soon as I set it to 90 degree as suggested in the tutorial video all the hitboxes align in the middle. Help please!

https://www.dropbox.com/s/hwxv745ygp8on … 1.png?dl=0

https://www.dropbox.com/s/kweii5j3vtsbc … 2.png?dl=0


It doesn't matter if they align, once the character is in the game they work properly.

Have you run your character ingame?

Me encontraste en un negro camino como un peregrino sin rumbo ni fe, pero la luz de tus ojos divinos cambió mi suerte por dicha y placer.

3 (edited by MrPonton 2017-08-16 01:18:20)

Re: Setting up HitBoxes

It also depends on which bone (game object) you assign the hit spheres to. The default setup has the spheres follow the location of the bone during animation for automatic placement.

Also, the screens are misleading. The first one you're viewing from the Z axis and the right one you're viewing from the x axis.

So everything's correct since the game doesn't put the hit spheres anywhere on the z-axis except at point 0. When you get the character in game it will follow the bones you have assigned, in their animation, on the x and y axes exclusively. What you're seeing is your character going from a "facing background" position, and you're turning them to "face forward" position. I imagine you don't have any offsets on the bone links so you're seeing everything from the character's right side positioning.

Share

Thumbs up Thumbs down