[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922) InsideQC Forums • View topic - Restoring or Adding Physics to MOVETYPE_TOSS
Basically, I got a primitive gravity gun that picks up an object by setting the picked up object's origin to the end of my traceline every frame. When let go the object floated in mid air, I sort of fixed this by adding droptofloor, but theres no visual falling going on and I'd like to see that. So how would i start (or restart) the physics of an object with MOVETYPE_TOSS to make it fall when it's let go.
Thanks, it did work, but I have messed with it some more and decided to spawn a complete copy of the object and that allows for physics to take place. It wasn't that urgent, it was a proof of concept really, thanks for the help though