Hammerwatch Forum

Custom mapping and Mods => Editor Discussion => Topic started by: MadMan on June 13, 2014, 08:43:10 PM

Title: Offset question
Post by: MadMan on June 13, 2014, 08:43:10 PM
So, how does the circle offset work?


in this example



   <collision static="true" shoot-through="true">
      <circle offset="40 1" radius="15" />
Title: Re: Offset question
Post by: Myran on June 13, 2014, 11:42:55 PM
It's just where the center of the circle is. Use the physics rendering (F1 in editor) to tweak it.
Title: Re: Offset question
Post by: MadMan on June 14, 2014, 01:18:20 PM
I probably should of provided mroe infomration. SO i have the values 40 and 1. HOw does it work, does 40 make it go up and -40 go down? and the next one goes left and right. I was messing around with it, and i can't seem to find a pattern.
Title: Re: Offset question
Post by: MadMan on June 14, 2014, 01:20:16 PM
Oh yeah, and i used F1, it shows the collisions, how do i change them? And you left the mummys in the editor, if you werent meant to.
Title: Re: Offset question
Post by: Myran on June 14, 2014, 03:40:12 PM
Ah, so it's two coordinates (in pixels), x and y. So "40 0" moves it 40 pixels to right, "0 40" moves it 40 pixels down, and then of course "-40 0" moves it to the left and "0 -40" moves it up.