Skip to content

Conversation

@JerryBerry12
Copy link
Contributor

Hey,
I started this feature. I don't know if this is the best way to do it, lmk if another way would be better. I don't quite know how to implement this into the GUIClient.cpp.

Lmk what you think!

@Ono-Sendai
Copy link
Contributor

Heya,
I don't think a seat can be classed as a vehicle, so I don't think this is the right way.
Maybe you could add it as a new object type?
E.g. add it to
enum ObjectType in WorldObject.h
like
ObjectType_Seat

@Ono-Sendai
Copy link
Contributor

I'm not sure how to display the seat object, maybe a transparent squashed cube for now.
And then when you mouse over it, it displays some text: 'Press [e] to sit'.
And if you do press E, then we anchor your avatar to the seat, with some code similar to how we anchor the avatar to vehicle seats.

@JerryBerry12
Copy link
Contributor Author

Ok I'll work on that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants