© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
9 replies
TwitchMutee

3D Unity Raycasting

Hi guys, currently working on a puzzle game involving lasers and mirrors, however, have hit a brick wall right at the end. essentially the laser reflects off the mirrors all the way to the target area, but when it hits the target the raycasting is outputting a debug.log(“target hit”) but isn’t finishing the if statement as straight after it should transform the door position. Any help would be appreciated?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Unity 3D
C#CC# / help
3y ago
❔ Unity 3D Overlap Effect
C#CC# / help
3y ago
❔ Unity 3D Urp Problems
C#CC# / help
3y ago
Unity 3D csharp error [Answered]
C#CC# / help
4y ago