make her fly!...er..sway.

  • If you're asking a question make sure to set the thread type to be a question!

Twist.vmf

L420: High Member
Jul 29, 2016
439
208
anybody know how to make an object sway side to side, and make it so players can safely interact with it?
211377-full.png

like this?
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
This is Source.

Which basically means forget it. If you've played on the balloon race servers you know how much of a bitch Source is with moving platforms and players on top of said moving platforms.

You can make an airship model, animate it so it sways gently and put it on a pre-set course like a payload cart, but if players were to stand on top of that you'd basically enable godmode for them. You have side to side movement plus up and down movement and Source just doesn't like that.
 

Phil25

L1: Registered
Jun 13, 2015
49
10
Make a model with a swaying animation, set it to a prop_dynamic and move it around.
 

Muddy

Muddy
aa
Sep 5, 2014
2,574
4,592
Players will also get stuck inside animated props if said prop's animation moves through them.

Your best bet is to just have other, inaccessible islands moving around, while the playable space stays still

Also bear in mind that having the entire playerspace be moving will also make it impossible to optimise since everything will be entites (which don't block visibility)
 

MaccyF

Notoriously Unreliable
aa
Mar 27, 2015
914
1,544
if this is in order to make the play-space appear to float in a map for your sky fortress project, you're better off making the other islands move, as it will imply that the one you're fighting on is moving too.

If you made all the non-playspace islands/ objects move in their own way, then parented all of the entities causing the motion to a different moving entity, it would give the illusion of your island moving/ swaying.
 

Twist.vmf

L420: High Member
Jul 29, 2016
439
208
thank you all, BUT my question was more on how do you make something, anything, move!?
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
Move what? Be specific please.
 

Cytosolic

L5: Dapper Member
May 1, 2015
201
169
like on a path in the sky, so i can have stuff circle the play area, or move as points are captured

stuff a player can't touch

Parent the entities you want to move to a func_tracktrain and place path_tracks where you want the train to move to. There's probably a better way that I don't know.