Hi, i’m trying to create a 3D isometric game in Blender (v2.76) and i need help for know several useful features for my game.
(sorry if I’m not expressing myself correctly, i’m french and use Google traduction sometimes)
for now, I’m working on the environment and the field conditions.
Here is an image that represents a beginning of my creation ;
Light blue object represents the player, with a [Collision Bounds - Capsule] and
[Physics - Character]
Yellow object is a slope at 22.5 degrees
Orange object is another slope at 45 degrees
The player can move around and fall, but how to make it slide only on the orange slope?
(if you had an exemple of platform isometric game to download, i’ll take too ^^)
It’s a character type. But if i set it in the physics panel, it can’t slide on the both slopes.
I Don’t know if there’s a way to set a degree limit when the player slide or not.
ah, ok character type is not my way of working, if you stick with it you need help from someone else.
character type has a lot stuff build in already that’s why it’s not sliding.
I use dynamic type for all my players/etc… dynamic will slide and the applyforce will top it from sliding.
yes you can calculate a sliding angle and applyforce according to that. You can click on my avatar and click on my resources, take my ‘first person movement script with keybindings’, i have that option in there.
character was build in to give new users the ability to set up a character fast, but this type you have less control over. dynamic is best, you have full control over it, but downside is you need to program everything for it, dynamic does not come with anti sliding or walking stairs etc.
so if you want full control and can program/use bricks use dynamic else stay at character.
(or simply use scripts that other users, like me, have made available for the public)
The red sphere represents an enemy projectile that can damage the (light blue) player.
His Damage property’s number is supposed to reduce the HP player’s property.
projectile = own.sensors["Collision.001"].hitObject
if projectile: #safety check that hitObject != None
if not projectile.invalid: own["DamageTaken"] = projectile["Damage"]
(1 month later) This time, i’m trying to throwing a projectile from the character.
This projectile it appears and disappears well after few seconds but he doesn’t want to move…
Here’s my code: