CasperTech / node-metaverse

A node.js interface for Second Life.
MIT License
51 stars 34 forks source link

Add client commands for Sitting and Standing #52

Closed wlfio closed 2 years ago

wlfio commented 2 years ago

This adds a new set of commands to ClientCommands

sitOnObject - takes an object's uuid and an offset vector sitOnGround stand

They have been tested in my own project, but no tests have been written, as I am unsure about the testing setup for this project.

2 functions were added to the Agent class to make the setting of bitwise flags clearer to read.

I do vaguely plan to expand on these, but as all I needed was sitting and standing up for now, so I put in a PR before I never get round to doing any of it.

TomMettam commented 2 years ago

Cherry-picked