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

Grabbed object is clipping others and walls #19

Open
ezioleq opened this issue Oct 15, 2021 · 1 comment
Open

Grabbed object is clipping others and walls #19

ezioleq opened this issue Oct 15, 2021 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ezioleq
Copy link
Owner

ezioleq commented Oct 15, 2021

Describe the bug
It describes itself.

To Reproduce
Steps to reproduce the behavior:

  1. Grab an object
  2. Go for a wall
  3. Observe.

Screenshots

PortalessGrab

Expected behavior
Grabbed object should not clip other ones. This can be done using second camera for grabbed object and rendering it on separate layer. When player drops an object it should drop right in front of him if he was standing towards a wall.

Dishonored game did it very nice and we should copy this behavior.

DishonoredGrab

@ezioleq ezioleq added the bug Something isn't working label Oct 15, 2021
@ezioleq ezioleq self-assigned this Oct 15, 2021
@ezioleq
Copy link
Owner Author

ezioleq commented Oct 18, 2021

So after some brainstorming we can't do that this way.
Moving cubes or redirection cubes using presented technique will be bad. We need to do this on a single camera, the best solution I figured out atm is just to not use stiff position in front of camera, maybe use some rigidbody joint. Yes, joints may be better.

@ezioleq ezioleq added this to the Beta 0.2.0 milestone Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant