unity rigidbody constraints
m_Rigidbody = GetComponent<Rigidbody>();
//This locks the RigidBody so that it does not move or rotate in the Z axis.
m_Rigidbody.constraints = RigidbodyConstraints.FreezePositionZ | RigidbodyConstraints.FreezeRotationZ;
Also in C#:
- the request was aborted could not create ssl/tls secure channel. c# restsharp
- c# max sequence contains no elements
- asp.net core mvc not triggering client side validation
- invalidoperationexception c# ui thread
- player script unity
- c# thread sleep
- c# exit console
- non null array length
- call stored proc c#
- c# new thread
- c# error "The name 'ViewBag' does not exist in the current context"
- c# is not equal to
- see if two string arrays are equal c#
- mongodb custom IIdGenerator
- c# one line set
- unity delete specific text in a string
- devexpress objectspace to session
- s3 upload base64 .net core
- C# get object property name
- c# add object to array
- c# stop loop in method
- compose graphql query string in c#
- .netstandard distinctby iqueryable
- how to convert object in string JSON c#