Aller au contenu

Photo

Walkmesh on rug


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
Proleric

Proleric
  • Members
  • 2 350 messages
Has anyone else had issues with walking on rugs or carpets?

I've placed a large rug on a wooden floor, with a straw mattress in the middle of the rug.

In game, the movement cursor is greyed out on the rug, so I can't walk to any point on it.

However, I can right-click on the mattress or the surrounding floor, in which case my character walks across the rug.

If I zoom out, the bug goes away.

The rug is prp_elrug4_0. The floor is fti_floorwood_0.

The rug is elevated by 0.04 on the Z-axis to prevent clipping with the uneven floor.

In the level editor, I notice that the walk points are on the floor below the rug, not on the rug itself (though they are still visible). In contrast, there are walk points on the mattress.

Any suggestions?

#2
BioSpirit

BioSpirit
  • Members
  • 261 messages
I don't know but anyway the property MMH_SHAPE_COLLISION_MASK_NONWALKABLE is set to 1 and that would indicate that the rug isn't ment to be walkable.

#3
Proleric

Proleric
  • Members
  • 2 350 messages
Thanks - it may be an issue with that particular rug model, because the other Elf rugs work fine.

#4
Proleric

Proleric
  • Members
  • 2 350 messages
Correction - prp_elrug2 works fine, but prp_elrug1 has the same bug. The walk points look OK in the level editor, but don't work in game.

Modifié par Proleric1, 06 mai 2010 - 03:06 .


#5
Proleric

Proleric
  • Members
  • 2 350 messages
The bug goes away if I use a stone floor so that I can set the rug height to zero.