python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Raycast2D not detecting Rigidbody2D
I have a box that fires a 2D raycast forward every few seconds, and want it to detect the player's rigidbody2D. I am able to get the raycast firing (the debug draws it correctly), but for some reason ...
Phoenix
Votes: 0
Answers: 1
Unity Raycasting: "Camera.main.ScreenPointToRay" works, "new Ray(...)" does not
right now I'm working on a planet generation project in the Unity engine.
The problem I have happens when I want to place plants on the planet surface.
My approach is to cast rays from the center of t...
BanditBloodwyn
Votes: 0
Answers: 1