-
AuthorSearch Results
-
October 29, 2022 at 12:15 am #4788
In reply to: Visual Sensor is getting Auto-deleted with errors..
Ok, I tried recreating the character from scratch and found where the problem might be. When I try applying the ‘Behavior Tree Asset’ (AI->Mind->Behavior Tree Asset) I click to pull up options and instead of showing the available Behavior Trees I get an error and an empty list.
Error:——————————-
Exception of type ‘UnityEngine.ExitGUIException’ was thrown.
at UnityEngine.GUIUtility.ExitGUI () [0x00000] in C:\BuildAgent\work\ea95e74f6e5f192d\Runtime\ExportGenerated\Editor\GUIUtility.cs:126
at UnityEditor.EditorGUI.DoObjectField (Rect position, Rect dropRect, Int32 id, UnityEngine.Object obj, System.Type objType, UnityEditor.SerializedProperty property, UnityEditor.ObjectFieldValidator validator, Boolean allowSceneObjects, UnityEngine.GUIStyle style) [0x0028f] in C:\BuildAgent\work\ea95e74f6e5f192d\Editor\Mono\GUI\ObjectField.cs:99
at UnityEditor.EditorGUI.DoObjectField (Rect position, Rect dropRect, Int32 id, UnityEngine.Object obj, System.Type objType, UnityEditor.SerializedProperty property, UnityEditor.ObjectFieldValidator validator, Boolean allowSceneObjects) [0x00000] in C:\BuildAgent\work\ea95e74f6e5f192d\Editor\Mono\GUI\ObjectField.cs:12
at UnityEditor.EditorGUI.ObjectField (Rect position, UnityEngine.GUIContent label, UnityEngine.Object obj, System.Type objType, Boolean allowSceneObjects) [0x0001a] in C:\BuildAgent\work\ea95e74f6e5f192d\Editor\MonoGenerated\Editor\EditorGUI.cs:2318
at UnityEditor.EditorGUI.ObjectField (Rect position, System.String label, UnityEngine.Object obj, System.Type objType, Boolean allowSceneObjects) [0x00000] in C:\BuildAgent\work\ea95e74f6e5f192d\Editor\MonoGenerated\Editor\EditorGUI.cs:2305
at UnityEditor.EditorGUILayout.ObjectField (System.String label, UnityEngine.Object obj, System.Type objType, Boolean allowSceneObjects, UnityEngine.GUILayoutOption[] options) [0x0007c] in C:\BuildAgent\work\ea95e74f6e5f192d\Editor\MonoGenerated\Editor\EditorGUI.cs:4544
at RAINEditor.Minds.RAINBasicMindEditor.DrawInspector (System.String aLabel, RAIN.Serialization.FieldWalkerList aWalker) [0x00000] in <filename unknown>:0
at RAINEditor.TypeEditors.RAINTypeEditor.DrawFieldForInspector (System.String aLabel, RAIN.Serialization.FieldWalkerList aWalker) [0x00000] in <filename unknown>:0
at RAINEditor.TypeEditors.RAINTypeEditor.DrawFieldForInspector (RAIN.Serialization.FieldWalkerList aWalker) [0x00000] in <filename unknown>:0
at RAINEditor.Core.AIEditor.DrawInspector (System.String aLabel, RAIN.Serialization.FieldWalkerList aWalker) [0x00000] in <filename unknown>:0
at RAINEditor.TypeEditors.RAINTypeEditor.DrawFieldForInspector (System.String aLabel, RAIN.Serialization.FieldWalkerList aWalker) [0x00000] in <filename unknown>:0
at RAINEditor.TypeEditors.RAINTypeEditor.DrawFieldForInspector (RAIN.Serialization.FieldWalkerList aWalker) [0x00000] in <filename unknown>:0
at RAINEditor.Core.AIRigEditor.DrawComponentForInspector (RAIN.Serialization.FieldWalkerList aWalker) [0x00000] in <filename unknown>:0
at RAINEditor.Core.RAINComponentEditor.OnInspectorGUI () [0x00000] in <filename unknown>:0
UnityEngine.Debug:LogError(Object)
RAINEditor.Core.RAINComponentEditor:OnInspectorGUI()
UnityEditor.DockArea:OnGUI()
————————————————However, I was able to drag in the BehaviorTree from the project folder.. After resetting up the entire character prefab it works as expected.. With the exception of the error when exploring Behavior Trees. To fix this I can probably just re-import the RAIN asset; But I’ll leave it as-is for now incase you want me to do any debugging, just let me know..
Thanks for your help.
October 28, 2022 at 5:02 pm #4771In reply to: 2D game Platformer or Top down
You can move a Waypoint at any time.
October 28, 2022 at 4:58 pm #4770In reply to: 2D game Platformer or Top down
Chipmunk only support 2D Vectors… I will try to use Rain for a prototype and with chipmunk and 2D toolkit.
Is it possible to Warp a Waypoint to an other position?
October 28, 2022 at 4:41 pm #4769In reply to: 2D game Platformer or Top down
Here’s the thing - most of RAIN can be used for 2D games. However, RAIN currently requires the standard Unity axis setup (movement in the xz plane, y up). We have plans to allow RAIN to accept alternate axis in a future update.
October 28, 2022 at 4:18 pm #4768In reply to: 2D game Platformer or Top down
I using chipmunk 2D physic engine and unity… but would the waypoints working for 2D only? etc…
October 28, 2022 at 4:11 pm #4767In reply to: 2D game Platformer or Top down
I’m assuming you’re talking about a sidescroller. It’s possible, but pathfinding and other features wont work very well. You might be better off making your own.
Have you seen this video on 2D Unity velopment?
October 28, 2022 at 3:34 pm #4765Is it possible to use it for 2D games too?
Any sample?
-
AuthorSearch Results