• 🏆 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!

[JASS] Disapearing units, then a crash.

Status
Not open for further replies.
Im trying to make a basic physics engine. Problem is when the game starts the units on the map disapear then it crashes shortly afterward.
I dont know what the problem is, Im new to this whole JASS thing.

Please look through my map and optimize it I geuss and tell me why it keeps crashing. I have a feeling the whole map is infested with bugs\leaks.
 

Attachments

  • PhysicsTest.w3x
    17.4 KB · Views: 35

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,208
I agree with the Captian on this one. Your system makes little sense what you are trying to do as you are using flying height as the Y velocity and aquisition range as the X velocity which I would not recommend. Try using a tried and tested physics system or else using variables to store the velociy vectors. It might fix the problem.
 
Status
Not open for further replies.
Top