Total Members Voted: 3
It has been fail binned. It is impossible with Torque I guess.Well that's what I heard.
Not impossible, but Trader said that you just never make a vehicletouch in torque for some reason.
This Add-On basically uses a method of vehicle detection that Trigun used previously in an Add-On that was also failed. It involves running a function on a schedule, several times a second that searches around every vehicle in the server to see if any bricks are near. There's not even a guarantee that the vehicle is actually colliding with the brick because of the way this check works. This check is based on the bounding box of the vehicle, which is almost never the same size as the vehicle's collision mesh. So, not only do you have a persistent schedule running the entire time the server is alive, you also have a detection method that isn't accurate. The only way to get an accurate, efficient onVehicleTouch event is to have Badspot expose the engine's vehicle collision functionality (onCollision, etc) to TorqueScript. You're just going to have to wait for him to add this functionality, because I'm going to fail any Add-On that offers an TorqueScript-based onVehicleTouch event.
I love how I can spend weeks optimizing the game and you can wreck it all one day with a single stuffty script loop.
Quote from: BadspotI love how I can spend weeks optimizing the game and you can wreck it all one day with a single stuffty script loop.
I love how it doesn't even slow down the game on my stuffty computer.