Constraints, Trains and Automobiles
Hey folks, just trying to get something working. I'm trying to do a train ride, with the train on a hinge so that when it slows down, it shakes, and looks less rigid and more fluid.
http://elitetreacle.info/Capture.png (the black is the toolsblack texture, not the void :3)
Basically, my set up is a func_tracktrain on a track, which works fine. At every corner, a sound plays from the train, again working fine. To have a train rotate when it raises at one point, I parented a func_door_rotating to the train and made it go 180* on the X Axis, working nicely. Now, the problem is getting the phys_hinge working properly.
The entire thing works fine if I take the constraint out of the equation and parent the prop_physics straight to the func_door_rotating. I've tried various constraints and all it does is deletes the prop_physics (and removes all children).
So yeah... is there any way of getting this working? With a hinge it would feel so much better than without.
(This is a repost from the Steam Forums because I am lazy to retype stuffs.)
Also, env_shake isn't what I'm looking for, I want the train to actually swing slightly (if I have to, i'll fall back to that)
SpAM_CAN wrote:
I AM using path_tracks >.> Thats what the func_tracktrain runs on.Also, env_shake isn't what I'm looking for, I want the train to actually swing slightly (if I have to, i'll fall back to that)
Take a look in hammer, sp_a1_intro 1 in the wake up room.
But the whole room is a model, when Wheatley moves your relaxation vault in manual override.
EDIT: Maybe not. Gimme a mo xD
For some reason the map won't decompile with all I/O intact :v
SpAM_CAN wrote:
Its a model with animations of swinging and such :cEDIT: Maybe not. Gimme a mo xD
For some reason the map won't compile with all I/O intact :v
go into the model view in the Portal 2 SDK
and look at props in the folder labeled container ride
Also, env_shake doesn't work with a point_viewcontrol.