Page 1 of 1

[3D Programming] Pro command suggestions

Posted: Mon Oct 15, 2012 1:23 pm
by Olby
Can we please have these 3d programming commands considered:

after calling RayPick():
normx.f = PickNormalX()
normy.f = PickNormalY()
normz.f = PickNormalZ()

to do rag-doll entities or other "manual animation":
EntitySetBonePitch(#Entity, Bone$, Pitch)
EntitySetBoneRoll(#Entity, Bone$, Roll)
EntitySetBoneYaw(#Entity, Bone$, Yaw)
EntitySetBoneX(#Entity, Bone$, X)
EntitySetBoneY(#Entity, Bone$, Y)
EntitySetBoneZ(#Entity, Bone$, Z)

to play correct sound effect based on material type (i.e. brick, metal, glass etc.) - to do so we need to know either material texture name (in case of GetScriptMaterial()) or TextureID() in situations when material was created in PB:
texture_id = GetMaterialTextureID(#Material, [Layer])
texture_name$ = GetMaterialTextureName(#Material, [Layer])

3D library looks more and more appealing to game developers and I'm currently thinking of rewriting my FPS engine in PB :!:
Hopefully we can have at least some of these commands (preferably pick normals) in PB sooner than later, I can't see any good quality 3D games made without these commands. Thanks very much.

Re: [3D Programming] Pro command suggestions

Posted: Mon Oct 15, 2012 1:27 pm
by Fred
Thanks for your constructive input, we will look at it.

Re: [3D Programming] Pro command suggestions

Posted: Mon Oct 15, 2012 1:29 pm
by Olby
Thanks Fred, I appreciate your time.