• Syncing player/entity velocity to another entity
    5 replies, posted
Hi guys, I'm back to gmod for some time and wanted to now if someone roughly achieved "standing on a moving prop" ? I'm aware of SuperLlama great achievement with his Gravity Hull Designator, but it is still only an illusion and i'm not pleased when I deal with multiple designated hulls ( multiple cars moving, players standing on them and shoving props at each others) ([url]http://facepunch.com/showthread.php?t=1254462&p=40640743#post40640743[/url]) Using set/add velocity functions is very clunky and unefficient, but I was wondering if there was any way to override gmod physics ? Whenever a PhysObj has a collision and has a force applied or a get velocity added/set , recover this data and apply it to the "parented" player. Anyway, I may in the end lower my expectation with my project, but I wanted to now If anyone did something similar... Thanks in advance guys, I'm going to sleep now (I live in Europe) will be checking the thread tomorrow.
[QUOTE=ninjadindon;47900651]roughly achieved "standing on a moving prop" ?.[/QUOTE] Yes. I remember there someone made it from WAYWO. [QUOTE=ninjadindon;47900651]I was wondering if there was any way to override gmod physics[/QUOTE] I think you can do it in GLua but it will be very very hard and maybe very limited, and I'm sure you will end up with the need of making a C++ module for physics overrides (simulations). Look here. [url]http://facepunch.com/showthread.php?t=1242860[/url]
Thanks for your answer, it's very kind of you. I could do something in C++ but I ain't got no time for now, I think I will do something else... Bullet Physic is a thing though, I will take a look at Glua too. Thanks again! [editline]8th June 2015[/editline] Just found the post: "Custom Gravity" [url]http://facepunch.com/showthread.php?t=1427994&p=46255814&viewfull=1#post46255814[/url] Hxrmn achieved it for players and maybe for props, i'm sending him a private message right now.
I don't think it was Hxrmn for the "standing on a moving prop". Because the video is not matching what I remembered. I remembered of a video where someone in WAYWO demonstrate a flying prop (ship/prop) moving with 2 players in. And of course, without falling like classic Gmod.
I put a shit tonne of effort in to exactly what you want, and it's really not possible to have it decent on multiplayer. Hard to do jumping, hard to do crouching, hard to do shooting, hard to do walking next to another player, hard to do surfing. That's why I chose to never release it, here's some porn of it though. Here's the unfinished maybe working code: [url]https://www.dropbox.com/s/zl1pt6q9zqd1u8y/surface.zip?dl=1[/url]. I think it is currently set up so you can never fall off unless you are walking. [vid]https://d.maxfile.ro/opysteuxwn.webm[/vid] [vid]https://d.maxfile.ro/xexzfesqel.webm[/vid]
Nice! I knew from the start that it is not possible in source, waiting "Gmod 2" with an even better engine (maybe when I will be 60 , who knows ) In the end thanks everyone for your efforts!
Sorry, you need to Log In to post a reply to this thread.