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

feature request: prop to disable follow cam collision lerping #101

Open
hichemfantar opened this issue Sep 17, 2024 · 5 comments
Open

feature request: prop to disable follow cam collision lerping #101

hichemfantar opened this issue Sep 17, 2024 · 5 comments

Comments

@hichemfantar
Copy link

i need the camera to instantly change position when an obstacle is detected.

@hichemfantar hichemfantar changed the title feature request: disable follow cam collision lerping feature request: prop to disable follow cam collision lerping Sep 18, 2024
@ErdongChen-Andrew
Copy link
Member

Will consider adding it in the next version.

@hichemfantar
Copy link
Author

hichemfantar commented Sep 19, 2024

Will consider adding it in the next version.

I believe i solved it locally but could use your opinion on my solution.

look forward to seeing this issue closed after you add a prop to disable lerp in the next release

image

@hichemfantar
Copy link
Author

closed by b958503

@hichemfantar
Copy link
Author

@ErdongChen-Andrew can you add the ability to pass a boolean value to skip the lerping to remove the performance waste with lerp?

basically if disableCamCollisionlerp is true then use position.set instead of position.lerp

@hichemfantar
Copy link
Author

hichemfantar commented Oct 6, 2024

Look at this bug when i pass 999 in camCollisionSpeedMult

Screen.Recording.2024-10-06.at.3.49.29.PM.mp4

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

No branches or pull requests

2 participants