-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for idSpring (func_spring) from FraggingFree by IvanTheB, fix #31
In addition to Ivans code I made two small changes: - Add "compress" and "pullEnt1" spawnargs so those can be set when initializing the underlying idForce_Spring - Made "pullEnt1" true by default (in FraggingFree it's hardcoded to false) "pullEnt1" specifies whether the entity connected through "ent1" can be moved by the spring - if it's set to 0, only ent2 can be moved by the spring and ent1 is either stationary or moved by other means/forces, so with "pullEnt1" "0", ent1 drags ent2 along, but not the other way around. "compress" is like "constant" (aka Kstretch), but for compressing when below the "restlength" instead of stretching when above it.
- Loading branch information
1 parent
63b84a8
commit c72353c
Showing
8 changed files
with
426 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.