Horje
unfreeze position in unity Code Example
rigidbody2d unfreeze position
public Rigidbody2D rb;

void Start()
{
	rb.constraints = RigidbodyConstraints2D.None;
}
unity rigidbody constraints unfreeze
rb.constraints = RigidbodyConstraints.FreezePositionX | ~RigidbodyConstraints.FreezePositionY | RigidbodyConstraints.FreezePositionZ;
unfreeze position in unity
rb.constraints = RigidbodyConstraints.FreezePositionX | ~RigidbodyConstraints.FreezePositionY | RigidbodyConstraints.FreezePositionZ;
//to unfreeze a position/rotation put ~ before




Csharp

Related
exception e is null c# Code Example exception e is null c# Code Example
Nested objects with linq expression Code Example Nested objects with linq expression Code Example
g2 Code Example g2 Code Example
c# pull request Code Example c# pull request Code Example
unity get audio clip length Code Example unity get audio clip length Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10