Staredit Network > Forums > SC2 Assistance > Topic: Detecting unit moving through walls
Detecting unit moving through walls
Dec 23 2013, 1:13 pm
By: Leeroy_Jenkins  

Dec 23 2013, 1:13 pm Leeroy_Jenkins Post #1



Hello, I am working on a Starcraft II hockey map. In this map, I have a trigger physics engine, which moves units around. The problem I am having is that the hockey puck moves very fast. It is being moved by the unitsetposition trigger, so sometimes it skips over areas. This is a problem for my map, especially around the goal area, where I want collision with the goal and goal posts to be very accurate. Any ideas?



None.

Dec 23 2013, 2:14 pm Roy Post #2

An artist's depiction of an Extended Unit Death

If these are all fixed collision points, why not just make some regions and handle the event that the puck enters one of them?

What do you mean by "skips over areas"? If you're moving it a significant distance, you should decrease the distance and shorten the interval. I find that 0.05 seconds works pretty well for sliding effects.




Dec 24 2013, 1:38 am Leeroy_Jenkins Post #3



The interval is 0.0 seconds, and the projectile is moving fast, and being moved by the unitsetposition trigger. So, sometimes, it is moved over an area completely, including regions. So, the interval is at its minimum, and I would not like to decrease the distance (AKA speed) if I could.

Edit:

I found a website that might be useful, http://www.gamasutra.com/view/feature/131424/pool_hall_lessons_fast_accurate_.php?page=2. This looks like what I probably need for this.

Post has been edited 1 time(s), last time on Dec 24 2013, 4:54 am by Leeroy_Jenkins.



None.

Mar 2 2014, 8:30 am payne Post #4

:payne:

Btw, Leeroy, I saw some players walk through the arena's boundary and start skating beyond them. All they seemed to have to do was keep walking straight into the wall until they get to the other side.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: boosztocbus