- Newest
- Most votes
- Most comments
Hi @REDACTEDUSER
Sorry for delay , But these days I am really busy because schools have become online/virtual, my work has increased a lot.
This is a raycast answer script canvas graph zip file for your request 👇 CameraCollisionAhmadKarami.zip|attachment (30.9 KB)
Please see this video , how to use my graph 👇 https://www.youtube.com/watch?v=h128qaGb2fI
I hope it is useful for you
Hi @REDACTEDUSER Welcome to Amazon Lumberyard 🌹 Your work is great , I tested for both PhysX & CryPhysics , result is nothing , I think , It is not possible for Physics Lib in Script Canvas 1.25 😊
I tested this question in Starter Game LY 1.25 , The camera player goes into the objects of the collider 😉 Like your game where the camera goes into objects ✅
Thank u dude,I use the new version 1.26.0 in start game too, I wii try, make anyting to this working, so thank you again
One way to do this is shoot a ray between your camera and player. And if there's anything in the way of the ray then interpolate the camera toward the player until there isn't.
@REDACTEDUSER soon I upload a video help , of course my graph is not complete 😊
@REDACTEDUSER
You should be able to add a collider to your camera entity. If your buildings are using PhysX colliders, add an appropriate PhysX collider to the camera ( I'm assuming your character is using the character or rigid body colliders). If the buildings use legacy physics, attach a legacy collider to the camera entity.
You can also use collision groups with PhysX to make the camera collide with buildings, but not say, light posts.
If there's anything I've learned about game development it's that it's ALL ABOUT THE RAYS.
Hi Gents, don't forget to mark an issue as "resolved/solved" when someone offers a solution. This will help community members get the new badge for providing solutions!
@REDACTEDUSER
[quote="lmbr_Saulty, post:14, topic:9560, full:true"] Hi Gents, don’t forget to mark an issue as “resolved/solved” when someone offers a solution. This will help community members get the new badge for providing solutions! [/quote]
This post is closed: Adding new answers, comments, and votes is disabled.
Relevant content
- Accepted Answerasked 6 years ago
- asked 6 years ago
- Accepted Answerasked 7 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago