Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

how to unfreeze a rotation in a collider unity 2d

public Rigidbody2D rb;

void Start()
{
	rb.constraints = RigidbodyConstraints2D.None;
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: shorthand in c# operator 
Csharp :: Codewars Multiply 
Csharp :: Sir W. Arthur Lewis 
Csharp :: trnasform ubnity 
Csharp :: stop sound in unity 
Csharp :: how to convert a number to 2 decimal places in c# 
Csharp :: get web config key value in c# razor view 
Csharp :: c# object initialization can be simplified 
Csharp :: c# byte array to string 
Csharp :: C# aspnet how to run a migration 
Csharp :: vb.net open file with default program 
Csharp :: unity c# check if multiple keys are pressed 
Csharp :: unity get rigidbody 
Csharp :: change array size in unity 
Csharp :: button action asp net 
Csharp :: how to join array indexes with comma in c# 
Csharp :: c# implicit operator 
Csharp :: readonly vs const c# 
Csharp :: c# switch by type of object 
Csharp :: prettier c# 
Csharp :: check distance to gameobject 
Csharp :: bootstrap modal 
Csharp :: run linux command in c# 
Csharp :: c# list sort by property string 
Csharp :: c# list index 
Csharp :: initialize ConsoleLoggerProvider in EF core 
Csharp :: .net core check if user is logged in 
Csharp :: how to change the color of a sprite in unity 
Csharp :: c# get month number 
Csharp :: c# void 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =