Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

unity unfreeze position in script

using UnityEngine;

public class FreezePosition : MonoBehaviour
{
    public GameObject TheThingToFreeze;
  	
    public void	Start()
    {
    	TheThingToFreeze.GetComponent<Rigidbody>().constraints = RigidbodyConstraints.None;  
    }
    
}    
Comment

PREVIOUS NEXT
Code Example
Csharp :: draw on picturebox c# 
Csharp :: c# next level script 
Csharp :: if c# 
Csharp :: how to turn a string in a char list c# 
Csharp :: c# debug writeline 
Csharp :: c# remove the last character of a string 
Csharp :: how to send button name for method in c# 
Csharp :: scale between tow ranges c# 
Csharp :: autofac .net core 6 
Csharp :: unity reset random seed 
Csharp :: unity draw ray from one object to another 
Csharp :: carousel asp.net mvc beginner 
Csharp :: convert pdf to image c# 
Csharp :: C# Bitwise Right Shift 
Csharp :: c# combobox lock edit 
Csharp :: c# dictionary get key by value 
Csharp :: c# comment 
Csharp :: c# return tuple 
Csharp :: string.QueryString c# 
Csharp :: c# structure 
Csharp :: finding values in the registry 
Csharp :: remove scenedelegate 
Csharp :: c# map function 
Csharp :: c# get smallest of 3 numbers 
Csharp :: aspx element visibility ould not find 
Csharp :: c# find comma in text and remove 
Csharp :: What are logic gates? 
Csharp :: how to subtract two dates in dart 
Csharp :: unity c# destroy gameobject 
Csharp :: how to know pm or am C# 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =