Skip to content

Conversation

@cgilbers
Copy link

Circular Drive, Linear Drive and Throwable all allow a player to move an object. Only Circular Drive was not attached to the hand on a grab. This change allows you to use the features of the Interactable script, as "Hide hand on attach" for the Circular Drive too.

The outAngle of Circular Drive could be updated outside of the class, as it was a public variable. The variable is now private and a property was added to allow you to still change the outAngle, but now it also updates the gameObject.

This is my first pull request, so I hope I did this right!

@xVinicius
Copy link

Please, this must be merged into master. I have to come back to this pull request every time I create a project or update the plugin 🤒

PS: It will make a year anniversary soon 🎈

@Giantbean
Copy link

Giantbean commented Feb 20, 2020

Breaking in SteamVR Unity Plugin - v2.5 (sdk 1.8.19)

Assets\SteamVR\InteractionSystem\Core\Scripts\CircularDrive.cs(275,65): error CS0103: The name 'attachmentFlags' does not exist in the current context

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.

3 participants