• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[PHYSICS] A Sucking Dune

Status
Not open for further replies.
Thanks for considering my post.

I'm trying to create a small part of my map that contains a 'Dune' if you will. The idea is when a unit enters the Dune, they are sucked into the center.
The effect would be a giant slope that your unit slips into if left unchecked, but the intensity slowly deteriorates after you reach the middle.

I'm not experienced with physics triggers, but I know this one shouldn't be too amazingly difficult for those who are. I'm not sure exactly how it's done (in fact I have absolutely no idea). Any help is welcomed.

Edit: I'll even take like a test map of some physics triggers.. I found one of SC2Mapster the other day but it's not there anymore and I can't find it :S

Dune.png
 
Last edited:
Level 6
Joined
Jul 18, 2008
Messages
156
have you tried this?

pick every unit in region

set point1 = position of picked unit
set point2 = mid of ur map

set TempNumber = by distance to ur point1

move picked unit offset by (TempNumber) towards (angle from(point1 to point2))
 
Status
Not open for further replies.
Top