HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Physics engines and cliff problems

08-23-2007, 07:57 PM#1
cohadar
A picture is worth a thousand words:

Zoom (requires log in)
Attached Images
File type: gifproblems.GIF (3.8 KB)
08-23-2007, 08:18 PM#2
DioD
unit cant have negative flight height...
08-23-2007, 08:38 PM#3
Toadcop
can ^^ but not via SetUnitFlyHeight() (how i know)
+ currently it makes no sense.
08-23-2007, 08:40 PM#4
Anitarf
Well, even with 3000 words you still didn't tell us what exactly your problem is. I understand that your objective is most likely that the parabola must hit the exact spot, but you don't explain what the given value is, besides g which I assume is constant, do you have projectile's starting speed and you're trying to calculate the direction or do you have a fixed horizontal speed (like wc3 projectiles) and need the starting z speed? Is drag considered in the equation?
08-23-2007, 08:53 PM#5
cohadar
I don't have a problem with this, I solved it.

I just wanted to post this as there is a lot of movement engines activity going on right now because it is an interesting problem.

What is drag anyway?
Gravity acceleration or air resistance?
08-23-2007, 09:11 PM#6
DioD
Toadcop
oh you again here, you suggest custom natives or external hack for this?
08-23-2007, 09:15 PM#7
cohadar
Oh c'mon it is really simple, you move until you "hit the ground"

"hit the ground" is achieved when your engine tries to set negative FlyHeight.

Piece of cake.

Anyways I just had crazy idea : Polar Vector Movement
hihihiihi.
08-23-2007, 09:16 PM#8
Toadcop
i suggest what this is not a problem =) cause you don't need such precision in war3.

Quote:
Oh c'mon it is really simple, you move until you "hit the ground"

"hit the ground" is achieved when your engine tries to set negative FlyHeight.
everyone does it ^^... i don't know what it's a such problem.
08-23-2007, 09:18 PM#9
DioD
damn i love your posts information per char == zero minus 1.
08-23-2007, 09:37 PM#10
NightBreeze
How do you figure this is something new...?

About drag: http://en.wikipedia.org/wiki/Drag_%28physics%29
Previous forum discussion: http://www.wc3campaigns.net/showthre...highlight=drag

It's for slowing down.
08-23-2007, 09:52 PM#11
MaD[Lion]
what is this... what did u solve, its an obvious figure of how projectiles move... Nothing to learn nothing to think lol

btw negative fly height owns, i once made a spell where u summon sotnes from the ground :P
08-23-2007, 10:00 PM#12
Toadcop
Quote:
btw negative fly height owns, i once made a spell where u summon sotnes from the ground :P
! me too ^^ i summoned a Dark Portal + added cool dust effects ^^ but it does not getted back under the ground :'(
08-24-2007, 12:20 AM#13
MaD[Lion]
i know, cry too :'(
08-24-2007, 12:10 PM#14
Anitarf
Quote:
Originally Posted by cohadar
I don't have a problem with this, I solved it.
Then why post it? You should know better than post spam topics outside the off-topic forum.

Also, why is everybody talking about "physics" systems lately? It's nothing new. I had parabolic movement in my cinematic system two years ago and it was nothing special then, as there were other spells with such movement that predated my system for an additional two years. This is old stuff, stop being so excited about it.
08-24-2007, 12:33 PM#15
cohadar
There is a difference between a jump spell
and a movement system.

i.e. jump is not a system :P

And this is not spam topic.
It is used to inform people of some movement details that
might not be obvious at first sight.

Here is a question for all:

Hero is jumping on the cliff,
cliff is 2 meters high (128 game points)
but he can jump only 1 meter in the air.

Should this hero be able to jump on the cliff?