Issue with Character Physics Capsule component

0

I hope this is the right place for this.

I have an issue where I'm trying to create a player controller through script canvas and it works fo the most part but now it seems like I don't get proper collision.

(Here is what is looks like)

https://gph.is/2RD6U1R

My question is mainly how I create normal character collision just like in the sample game?

I've tried so many things. I copied the character physics set up from the example game, primitive colliders, and even making a new character for a default primitive shape. My only conclusion is that it's a bug within the physics system but I know that shouldn't be the case. From the looks of things it looks like other people are having this issue as well. Hopefully someone can answer this question.

質問済み 5年前241ビュー
8回答
0
承認された回答

I agree with fluffy. Please try to use Add Impulse node in Script Canvas. Here is a simple example. (The values on Multiply nodes may be bigger if your character is heavy.)

REMOVEDUPLOAD

回答済み 5年前
0

I think only Add Impulse can handle collisions. but you are trying to set entity's world position directly, it's override phys calculations

回答済み 5年前
0

Hello Estevan, Could you upload images of your script canvas and the character physics component's settings if you can? Here are my character's. (Please ignore unused variables in Script Canvas.) I hope this helps.

REMOVEDUPLOAD

REMOVEDUPLOAD

回答済み 5年前
0

Sure! Here you go. Thanks for looking at it ^_^

REMOVEDUPLOAD

REMOVEDUPLOAD

回答済み 5年前
0

it's very helpful, thank you. I have yet to dive into Lua but I'll get there :)

回答済み 5年前
0

Thank you so much for this example!

回答済み 5年前
0

OMG this make sense, thank you, thank you! :]

回答済み 5年前

この投稿はクローズされています。新しい回答、コメント、投票の追加はできません。

関連するコンテンツ