Go review what the parameters are for Raycast
Hint: they are NOT two positions. ![]()
Also… always use named arguments with Physics.Raycast() because it contains many poorly-designed overloads:
Go review what the parameters are for Raycast
Hint: they are NOT two positions. ![]()
Also… always use named arguments with Physics.Raycast() because it contains many poorly-designed overloads: