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

Fast chain physics simulation 1.0

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
  • Love
Reactions: Nyxohant
A small script to create a chain/leash between two units.

The chain motion looks pretty realistic (physical reaction to the gravity, to the units actions, and collision with the floor...)

Not CPU expensive.

Keywords:
chain, link, leash, physics, collision, reaction, spring, gravity, lightning effect
Contents

test Chain (Map)

Reviews
20:21, 3rd Nov 2010 The_Reborn_Devil: Hello there, you're globally ignored and therefore nobody can see this. New users are often globally ignored the first days. If you wish to get un-ignored just post a thread in Admin Contact. By the way...

Moderator

M

Moderator

20:21, 3rd Nov 2010
The_Reborn_Devil:

Hello there, you're globally ignored and therefore nobody can see this. New users are often globally ignored the first days. If you wish to get un-ignored just post a thread in Admin Contact.

By the way, you're using a lot of BJ's. It would be more efficient if you use the native functions. Like, instead of this:
JASS:
call InitHashtableBJ()
set udg_htable = GetLastCreatedHashtableBJ()
Do this:
JASS:
set udg_htable = InitHashtable()

Have a nice day!
 
Top