Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR- Fix __rigidbody.linearVelocity Roll a Ball With Mini Example Advanced #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

DakkuaDev
Copy link

Tested on RollABallWithMiniExampleAdvanced

This pull request includes an update to the PlayerView class in the Example03_RollABallMini project. The changes involve modifying the properties used for handling the player's movement.

Changes to PlayerView class:

RMC Mini MVCS/Samples~/RMC Mini MVCS - 1. Beginner Examples/Examples/Example03_RollABallMini/Advanced/WithMini/Scripts/Runtime/Mini/View/PlayerView.cs: Updated the CanMove property to use _rigidBody.velocity instead of _rigidBody.linearVelocity for handling the player's movement and pausing behavior.

…elocity

Update PlayerView.cs - Physics Unity API - _rigidbody.linearVelocity fix
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.

1 participant