Page MenuHomeFeedback Tracker

No collision on models placed as a placeable item (like the mines)
Assigned, NormalPublic

Description

If I want to use the placing mechanism like for mines to place other entities this way then they have no collision after placing them via the blue transparent placing helper. Collision works for the server but not for clients/peers. If I put the object on the ground via the inventory menu (drag and drop to the ground) then the object still has collision on clients/peers and on the server.

Expected behavior is that the object still has collision no matter which way they are placed. I intend to use this mechanism to make some fortifications placeable by using this vanilla method.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Operating System Version
Build 22631.3085
Category
General
Steps To Reproduce
  • Create a new mod without any dependencies
  • override a vanilla reforger mine in your new mod and replace the mesh object with Sandbag_01_single.xob
  • add the new object to the inventory of a character by overriding a character
  • start the default scenario "GM_Arland" with additional clients/peers
  • add factions
  • add spawns
  • spawn with your modified character class that has the modified mine in the inventory
  • Test A on Client/Peer: placing the object on the ground via inventory/drag-and-drop (the object has collision; you can see that the character runs on top of the object)
  • Test B on Client/Peer: placing the object on the ground via the placeable item system (the object has no collision, you can see that the character runs through the object)--> On the server/host the character has collision to the object

Event Timeline

y0014984 created this task.Feb 14 2024, 1:33 PM
Geez changed the task status from New to Assigned.Feb 15 2024, 11:39 AM