Hello this is Richard Haley just letting you know that I got this message that says: Gu::ConvexMesh::loadConvexHull: convex hull init fail! Try to use the PxConvexFlag:: eINFLATE_CONVEX flag. (see PxToolkit::createConvexMeshSafe)UnityEngine.Transform:Translate(Vector3).What does this all mean, where can I get the PxToolkit::createConvexMeshSafe,the PxConvexFlag::eINFLATE_CONVEX flag, and how can I fix this problem of mine? By the way @Bunny83 here is the script that it points me too:
1 using UnityEngine;
2 using System.Collections;
3
4 public class BasicAI : Monobehaviour {
5 public Transform target;
6 public Transform myTransform;
7
8
9 // Update is called once per frame
10 void Update () {
11
12 transform.LookAt(target);
13 transform.Translate (Vector3.forward * 5 * Time.deltaTime);
14
15 }
16 }
17
↧