Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird Physics behavior #18

Closed
AhhhFreshMeat opened this issue Aug 29, 2022 · 5 comments
Closed

Weird Physics behavior #18

AhhhFreshMeat opened this issue Aug 29, 2022 · 5 comments
Assignees

Comments

@AhhhFreshMeat
Copy link

AhhhFreshMeat commented Aug 29, 2022

Small physics objects(possibly larger) appear to rotate chaotically when near/inside player. Has an effect of the object magnetizing towards the player.

Weird.physics.mp4
helicopter.bomb.mp4

I am running this on a dedicated srcds_win64 ( Garry's mod )

@jonjimjoebobbillybobob
Copy link

jonjimjoebobbillybobob commented Aug 29, 2022

The physics replacement is absolutely amazing and would be ideal for me to use on my private server, unfortunately I use projectile based weapons instead of hitscan and I am certain this issue is the reason why the projectiles fly in random directions or rotate spastically. This seems to happen even if you force the projectile to have no collisions with the player.

I don't expect this physics replacement to cater towards such niche mechanics but if it's possible to fix or alleviate this issue it would be absolutely fantastic.

@Slartibarty
Copy link
Collaborator

This is caused by the quick and dirty code I wrote just before release to allow players to stand on things and apply downwards force on them, I don't check to see if you're actually standing on the thing before applying force, so just getting close enough to props is enough to apply force on them, will see if I can revise the player shadow code soon.

@noaccessl
Copy link

noaccessl commented Aug 30, 2022

vjolt_player_collision_tolerance 0 fixes weird physics and chaotic rotating

@severijj
Copy link

severijj commented Jan 14, 2023

vjolt_player_collision_tolerance 0 fixes weird physics and chaotic rotating

Pasting it in /Garrysmod/garrysmod/cfg/game.cfg will make Garry's Mod automatically execute it on server startup

@misyltoad
Copy link
Owner

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants