Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

how to have is trigger on but also have collisions

Attach an empty GameObject to the GameObject and center it to the parent
Add a collider and resize to fit the GameObject
Assign the player and the empty GameObject to a layer
go to Edit > Project Settings > Physics
uncheck collision between player layer and empty collider layer
Comment

PREVIOUS NEXT
Code Example
Csharp :: conditional blazor styles 
Csharp :: c# string to enum conversion 
Csharp :: text split 
Csharp :: unity3d change player position 
Csharp :: unique id c# 
Csharp :: rigidbody.addtorque 
Csharp :: linq where list contains another list 
Csharp :: c# method summary new line 
Csharp :: blazor option selected 
Csharp :: how to freeze x and y position in rb2d with code unity 
Csharp :: c# string to hex 
Csharp :: C# HttpClient POST request 
Csharp :: video gets pixelated by scaling it up to Screen Size unity 
Csharp :: remove carriage returns from string c# 
Csharp :: merge point 
Csharp :: Compare trees 
Csharp :: photon rpc 
Csharp :: get query string parameter from string value c# 
Csharp :: color picker wpf 
Csharp :: c# difference between two dates in milliseconds C# 
Csharp :: how to chagne rotation in unity 
Csharp :: how to copy last element in list c# 
Csharp :: wpf set color in code 
Csharp :: c# dictionary loop key value 
Csharp :: how to print dictionary in c# 
Csharp :: onkeypressed unity 
Csharp :: unity vscode no autocomplete 
Csharp :: how to make panel scrollable c# 
Csharp :: asp.net data annotations double 
Csharp :: c# find all indexes 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =