我剩下2个物体没有刚体,右边是刚性体(是Kinematic = false)。我可以通过左边的和右边的我可以移动。如何使角色不通过并移动对象? 没有刚体 enter image description here 随着刚体 enter image description here 字 enter image description here enter image description here
我想在Unity中产生一组坐标的预制,但是这种情况不断出现。 using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spawning : MonoBehaviour {
public GameObject TestCube;
public
我一直在我的代码中收到这个错误,我正在复制youtube以获得更好的跳转。有人可以向我解释我的代码有什么问题吗?在下面。 using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class jump : MonoBehaviour {
pu
这里有人是绞刑架。 我有以下问题。我有两个班。 .a类ListPainel。 和类项目要求。 类ListPainel 我有以下几点: [System.Serializable]
public class Item
{
public GameObject slotPrafab;
public int numeroDeItensDisp;
public int numeroDeItensTo
您可以使用Transform属性旋转Unity中的任何可视对象。 LineRenderer是一个例外。您无法使用transform属性移动或旋转它。 LineRenderer与SetPosition或SetPositions功能移动,所以我managed,使其可移动通过变换位置属性,但我不能让让它转动了。 下面是我使用它来移动的代码。 public Vector3 beginPos = new V