unity rigidbody constraints
C#
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#:
- Title
- asp multi select dropdown
- Category
- C#
- Title
- unity how to get y value
- Category
- C#
- Title
- when do i need to end a sentence with ; in c#
- Category
- C#
- Title
- winforms timer c#
- Category
- C#
- Title
- create asp.net which send email and sms using own api
- Category
- C#
- Title
- What is a class in c#
- Category
- C#
- Title
- how to parse a string to an integer c#
- Category
- C#
- Title
- C# get all files in directory
- Category
- C#
- Title
- never lose focus textbox c#
- Category
- C#
- Title
- IEnumerator
- Category
- C#
- Title
- c# array Reverse method
- Category
- C#
- Title
- get all child gameObject of gameObject C#
- Category
- C#
- Title
- how to sort string array alphabetically in c#
- Category
- C#
- Title
- asp.net tag helper checkbox
- Category
- C#
- Title
- how to make a for loop in c#
- Category
- C#
- Title
- c# region tag
- Category
- C#
- Title
- c# string remove special characters
- Category
- C#
- Title
- autoresetevent
- Category
- C#
- Title
- how to add a list to observablecollection in c#
- Category
- C#
- Title
- unity 2d rotate towards direction
- Category
- C#
- Title
- how to use more than one condition in ef join
- Category
- C#
- Title
- out parameters c#
- Category
- C#
- Title
- c# get full URL of page
- Category
- C#
- Title
- : ? conditioanl statement c#
- Category
- C#
- Title
- application variable in asp.net core
- Category
- C#
- Title
- loop gridcontrol devexpress c#
- Category
- C#
- Title
- check for collision unity c#
- Category
- C#
- Title
- unity onclick addlistener
- Category
- C#
- Title
- c# get all inherited classes of a class
- Category
- C#
- Title
- c# bool list count true
- Category
- C#
- Title
- unity how to move an object to another object
- Category
- C#
- Title
- c# create new object
- Category
- C#
- Title
- c# md5 hash file
- Category
- C#
- Title
- C# array to string
- Category
- C#
- Title
- c sharp add item to dictionary
- Category
- C#
- Title
- what function is called just before the a script is ended c#
- Category
- C#
- Title
- c# how to use inovke
- Category
- C#
- Title
- how to add a gameobject
- Category
- C#
- Title
- c# adding to a list
- Category
- C#
- Title
- how to add object in dictionary in c#
- Category
- C#
- Title
- c# console delay
- Category
- C#
- Title
- c# using get set methods
- Category
- C#
- Title
- unity get component
- Category
- C#
- Title
- F# convert generic.List to list
- Category
- C#
- Title
- c# move with arrow keys
- Category
- C#
- Title
- bind repeater to dictionary
- Category
- C#
- Title
- c# check if string is in array
- Category
- C#
- Title
- c# stringbuilder
- Category
- C#
- Title
- c# create array of int
- Category
- C#
- Title
- bitmap to byte array c#
- Category
- C#
- Title
- c# getasync response
- Category
- C#
- Title
- binding c#
- Category
- C#
- Title
- c# get gridview DataKeyNames
- Category
- C#
- Title
- navigate to another page with an object uwp c#
- Category
- C#
- Title
- unity hide mouse first person
- Category
- C#
- Title
- c# round number up
- Category
- C#
- Title
- c# get hwid
- Category
- C#
- Title
- how to see if they are aholding down a key unity
- Category
- C#
- Title
- c# array isn't working
- Category
- C#
- Title
- c# get char from string
- Category
- C#
- Title
- c# compile into an exe
- Category
- C#
- Title
- c# storing value in session
- Category
- C#
- Title
- add variable to the beginning of a list c#
- Category
- C#
- Title
- .net core session
- Category
- C#
- Title
- get first and last item list c#
- Category
- C#
- Title
- check if multiple variables are null c#
- Category
- C#
- Title
- how to clear console through script unity
- Category
- C#
- Title
- print gridcontrol devexpress
- Category
- C#
- Title
- create new object from generic c#
- Category
- C#
- Title
- unity onselect gizmos wireframe
- Category
- C#
- Title
- c# reverse string
- Category
- C#
- Title
- unity accessing 2d pointlight from c# script
- Category
- C#
- Title
- south african id number validation c#
- Category
- C#
- Title
- unity getcomponent
- Category
- C#
- Title
- declare string array c# without size
- Category
- C#
- Title
- c# get all class properties
- Category
- C#
- Title
- how to put double quotes in a string c#
- Category
- C#
- Title
- asp.net core 3.1: cast jObject to dictionary<string,string>
- Category
- C#
- Title
- Move player on planets in unity 2d
- Category
- C#
- Title
- c# reverse array
- Category
- C#
- Title
- c# how to sort a list
- Category
- C#
- Title
- c# main method
- Category
- C#
- Title
- how to start an if statement in c#
- Category
- C#
- Title
- unity lerp
- Category
- C#
- Title
- pop up element from specific index in array
- Category
- C#
- Title
- unity how to set an objects postion x,y,z
- Category
- C#
- Title
- exit game unity
- Category
- C#
- Title
- system.io.directorynotfoundexception c#
- Category
- C#
- Title
- unity how to change the text on a button
- Category
- C#
- Title
- max of array C#
- Category
- C#
- Title
- unity load scene
- Category
- C#
- Title
- c# check if string is only letters and numbers
- Category
- C#
- Title
- landscape print gridcontrol devexpress
- Category
- C#
- Title
- visual studio C# hintergrund bild ändern
- Category
- C#
- Title
- c# keyboard enter
- Category
- C#
- Title
- unity set list of strings
- Category
- C#
- Title
- loop through string array c#
- Category
- C#
- Title
- unity try get component
- Category
- C#
- Title
- unity docs player input
- Category
- C#
- Title
- c# object list attribute to string
- Category
- C#