Author Topic: Character falling through ground  (Read 48 times)

Azharal

  • Newbie
  • *
  • Posts: 2
    • View Profile
Character falling through ground
« on: January 05, 2021, 11:19:33 AM »
Before Importing Sumono my character was able to walk on ground plane. After importing however the character  the character will fall through. Even deleting the asset wont rectify the problem. Causing my whole project to corrupt. even starting a new scene wont solve the issue. Here is the only error that cropped up

SerializedObjectNotCreatableException: Object at index 0 is null
UnityEditor.Editor.CreateSerializedObject () (at <c5b8ea301f1f41bf85e0302c2ee96b92>:0)
UnityEditor.Editor.GetSerializedObjectInternal () (at <c5b8ea301f1f41bf85e0302c2ee96b92>:0)
UnityEditor.Editor.get_serializedObject () (at <c5b8ea301f1f41bf85e0302c2ee96b92>:0)
UnityEditor.GameObjectInspector.OnEnable () (at <c5b8ea301f1f41bf85e0302c2ee96b92>:0)



Chingwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 1689
    • View Profile
    • Tanuki Digital
Re: Character falling through ground
« Reply #1 on: January 05, 2021, 02:22:24 PM »
Hi Azharal,
try turning off the automatic layer in the suimono config section, and then go to your Unity physics layers settings and make sure your character layer is set to interact with ground.

Azharal

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Character falling through ground
« Reply #2 on: January 05, 2021, 11:36:00 PM »
Thanks...

how do i implement your character swimming script and animation

Chingwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 1689
    • View Profile
    • Tanuki Digital
Re: Character falling through ground
« Reply #3 on: January 06, 2021, 11:32:43 AM »
You can use the animations located in the demo folder for your own characters if you like.  However, I don't include a specific swimming controller though.  The controller included in the demo is not written to be used only part way as it was created specifically for that demos cene.  However you can lift it off the demo scene if you like, or you can use the code as an example to check water levels in your own scene in order to set when swimming animations should be played.