|
Post by hairgrow on Jan 16, 2021 23:48:16 GMT
I've created a subclass from Killable called Killable Player and wanted to know if it's possible to get rid of the PoolBoss warning without configuring the killable in PoolBoss. For my VR game, the offline Player will already exist in the scene, but I want to make the Player Killable. Everything is working, but it bothers me seeing the PoolBoss warning because I feel like I may be something wrong. Would there be any issues using a Killable without PoolBoss? And is there a better way to handle non-poolboss killables?
|
|
|
Post by DarkTonic Dev on Jan 17, 2021 4:28:19 GMT
No. You need to add it to Pool Boss even if it will never respawn. I mean there's a button to add it from the same Inspector with the warning, so what's the issue? If the player dies, it would despawn, then respawn, no?
|
|
|
Post by hairgrow on Jan 18, 2021 20:11:56 GMT
Because of how I'm architecting my VR game for both offline and online play, there's 2 different versions of the Player Avatar. Each version needs to be rigged according to the platform (SteamVR vs Oculus) as well as what mode (online/offline && local/remote) the game is in. When using SteamVR, I've created a full body player Avatar with finger tracking. SteamVR requires a set of hands to be instantiated into the scene when using the Knuckles controllers. When these hands have spawned, the Player is then rigged to the hands. This happens locally when offline, but when networked, depending on whether the Avatar is local or remote, the rigging process changes as well. I'm using Puppet Master for full body collisions, so instead of despawning the Player I would make the puppet ragdoll and then reset it back to normal.
Anyways, I didn't want to have to consider the timing and extra bits it would take to have Pool Boss spawn in the VR Player Avatar and then continuing rigging it the way it needs to. There's other factors I have to consider for a VR Player so I didn't want to complicate things by having Pool Boss spawn in the Avatar. For now, I think I can get by, by adding the Player Avatar to Pool Boss but set its preload Qty to 0. So that way I get rid of the warning, but the object is never spawned.
|
|
|
Post by DarkTonic Dev on Jan 18, 2021 20:14:57 GMT
Yes, that works.
|
|