0
$\begingroup$

Recently, I was developing a 3D Maze Game using Blender Game Engine. I set my character and maze walls physics to Dynamic with Convex Hull collision bound. when I test my game, my character walked through and sometime pushed the wall!. Using Static physics will give an unsolid wall. My character are controlled using Simple Motion by keyboard.

Actually, the maze itself was created inside a box and the box itself has been solidified (using Solidify Modifier). The maze wall are a big single object so there is no reason to use collision bounds option other than using Convex Hull or Triangle Mesh.No Ghost option checked in this project at all.

I had followed all advice and tutorial from Youtube and other Blender Forums, but what I got is still not a solid wall, and even made the maze wall being pushed by my character. Is there any workaround to make the maze wall fully solid so the character couldn't get through wall?

Using Dynamic Physic make it wall push-able or sometime Not solid at all

Blend file here : Google Drive - main_lite.blend (Removed textures and sounds to make it smaller)

Unfotunately, I don't have enough reputation to add more links here.

I'm indonesian after all, sorry if there's bad english.

$\endgroup$
1
  • 1
    $\begingroup$ why dont make the Wall physics static? the wall has parent? you need put more info about what you are doing, what are the logic, what need to happen, maybe some screenshots, a blend file. so the problem can be easily reproducible. Anyone who read this would be guessing. $\endgroup$ Commented May 3, 2017 at 4:55

1 Answer 1

3
$\begingroup$

You Character needs to be dynamic, and the walls/scenery static. Don't use the "simple motion" part of the motion actuator either. Put it into servo mode (drop down box) or set the linear velocity of the player. (The object needs to be dynamic for these options to appear).

Try playing around with the physics and motion in a completely seperate blend. Try making a prototype with just cubes - this way you'll learn what the various physics options do far better than if someone tells you.

For reference:

  • Static: It stays still when things collide with it. It will not collide with other static objects
  • Dynamic: position influenced by collisions and forces, but will not rotate
  • Rigid Body: position and rotation influenced by collisions and forces.
$\endgroup$
1
  • $\begingroup$ Thanks in advance. Now, I know I shouldn't use simple motion for characters, and I should use a physic bounding parent to the Armature instead of applying it directly. Looks like my conclusion isn't the same with reality one hahah. Once more thanks for your helpful answer. $\endgroup$ Commented May 6, 2017 at 3:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .