How I can make an camera collision?

0

hello guys, I have an question, how I can make an camera collision with script canvas ? this is possible ? https://youtu.be/HMpJOfvQEJg

asked 4 years ago189 views
13 Answers
0
Accepted Answer

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

answered 4 years ago
profile picture
EXPERT
reviewed 23 days ago
0

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 😊

answered 4 years ago
0

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 ✅

answered 4 years ago
0

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

answered 4 years ago
0

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.

answered 4 years ago
0

u can show me how I can make this ?

answered 4 years ago
0

@REDACTEDUSER soon I upload a video help , of course my graph is not complete 😊

answered 4 years ago
0

@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.

answered 4 years ago
0

If there's anything I've learned about game development it's that it's ALL ABOUT THE RAYS.

answered 4 years ago
0

thank you @REDACTEDUSER

answered 4 years ago
0

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!

answered 4 years ago
0

@REDACTEDUSER

answered 4 years ago
0

@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]

answered 4 years ago

This post is closed: Adding new answers, comments, and votes is disabled.