Constraints, Trains and Automobiles
Quote from SpAM_CAN on December 21, 2011, 11:25 amHey 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.)
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.)
Quote from Mr. P. Kiwi on December 21, 2011, 3:20 pmWhy aren't you using path_tracks and env_shake to get your train moving and to add the shake effect at the end? It would be much easier, you can specify the speed the train moves at at each point of the track with these.
Why aren't you using path_tracks and env_shake to get your train moving and to add the shake effect at the end? It would be much easier, you can specify the speed the train moves at at each point of the track with these.
Quote from SpAM_CAN on December 21, 2011, 4:48 pmI 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)
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)
Quote from spongylover123 on December 21, 2011, 5:17 pmSpAM_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.
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.
Quote from SpAM_CAN on December 21, 2011, 5:41 pmIts a model with animations of swinging and such :c
EDIT: Maybe not. Gimme a mo xD
For some reason the map won't decompile with all I/O intact :v
Its a model with animations of swinging and such :c
EDIT: Maybe not. Gimme a mo xD
For some reason the map won't decompile with all I/O intact :v
Quote from spongylover123 on December 21, 2011, 6:24 pmSpAM_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
EDIT: 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
Quote from SpAM_CAN on December 21, 2011, 6:53 pmIts Portal, not 2 that i'm working with >.>
Also, env_shake doesn't work with a point_viewcontrol.
Its Portal, not 2 that i'm working with >.>
Also, env_shake doesn't work with a point_viewcontrol.



