News Forums RAIN General Discussion and Troubleshooting Character detects entity and then… falls through the floor!

This topic contains 1 reply, has 2 voices, and was last updated by  prime 2 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34774

    rainingrick
    Participant

    I have setup my character with a sensor called ‘Eyes’.

    The character also has a behaviour tree, which looks like this:

    behaviour

    The target entity is being correctly detected and my character walks to the entity.

    Huzzah!

    However, when the character comes into contact with the entity, it immediately falls through the floor!

    Thoughts?

    #34775

    prime
    Keymaster

    Unless you have “Allow 3D movement” turned on in your Motor (you shouldn’t) RAIN will never try to create movement in the Y/vertical axis. That means the issue is likely related to the physics setup.

    Also - looks like your BT is failing and restarting every frame - possibly because the animate node is failing (can’t quite tell from the screenshot.) That’s probably causing issues as well - jitter if nothing else.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.