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 年前

该帖子已关闭:已禁用添加新回答、评论和投票。