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:
Home
Help
Search
Login
Register
Hammerwatch Forum
»
Custom mapping and Mods
»
Editor Discussion
»
Offset question
« previous
next »
Print
Pages: [
1
]
Author
Topic: Offset question (Read 4744 times)
MadMan
Posts: 96
Faggot Crusher.
Offset question
«
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" />
Logged
Myran
Developer
Posts: 183
Re: Offset question
«
Reply #1 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.
Logged
MadMan
Posts: 96
Faggot Crusher.
Re: Offset question
«
Reply #2 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.
Logged
MadMan
Posts: 96
Faggot Crusher.
Re: Offset question
«
Reply #3 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.
Logged
Myran
Developer
Posts: 183
Re: Offset question
«
Reply #4 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.
Logged
Print
Pages: [
1
]
« previous
next »
Hammerwatch Forum
»
Custom mapping and Mods
»
Editor Discussion
»
Offset question