|
Post by sjmtech on Jan 19, 2020 8:49:49 GMT
Hey dsilverthorn, there is no way to have the thirdcamera in the sceen right now but Vegetatio Studio can handle multiple camera just you need to follow the manual. ---- AUTO SELECT CAMERA When enabled VegetationSystem component will use Camera.Main (Camera tagged as MainCamera) as selected camera. Disable to provide a camera manually. For setups with multiple cameras this could be needed. ---- You can use First Person Camera Swap Events to do what you want on swapping. (change the VS camera for example)
|
|
|
Post by dsilverthorn on Jan 19, 2020 22:06:21 GMT
Hey dsilverthorn, there is no way to have the thirdcamera in the sceen right now but Vegetatio Studio can handle multiple camera just you need to follow the manual. ---- AUTO SELECT CAMERA When enabled VegetationSystem component will use Camera.Main (Camera tagged as MainCamera) as selected camera. Disable to provide a camera manually. For setups with multiple cameras this could be needed. ---- You can use First Person Camera Swap Events to do what you want on swapping. (change the VS camera for example) Thanks. I'll give it a try. I just upgrade to VSPro and I am just now getting good functionality out of it with your FPC, integration with the 3rd is now the issue, and I was getting lost on the camera set up instructions. I get so confused trying to get everything working together. I will get into it again and try everything I can before I bother you again. I really appreciate your help!!! If you weren't here I would just stay in first person.
|
|
|
Post by dsilverthorn on Jan 20, 2020 15:10:14 GMT
Just a note on Vegetation Studio and cameras: Standard has auto select Pro does not. You have to enter each camera in by dragging the camera into the camera.
The manual on vegetation studio pro states that the camera need to be added and enabled or disabled for the system to work. I have the question posted to the forum and discord but haven't gotten a response yet.
As of now I haven't found a work around to get an instantiated camera to work with Vegetation Studio PRO.
I will post and update if I find a solution so others can see too.
|
|
|
Post by sjmtech on Jan 20, 2020 15:28:53 GMT
Take a look here. Edit: I simplified the original code. Just add the scrip to the FPCamera and also to ThirdCamera prefab (the one assigned to the cameraswap script). using AwesomeTechnologies.VegetationSystem; using UnityEngine;
[RequireComponent(typeof(Camera))]
public class SetVegetationCamera : MonoBehaviour { Camera myCamera; VegetationSystemPro vegetationSystempro;
void Awake() { myCamera = GetComponent<Camera>(); vegetationSystempro = FindObjectOfType<VegetationSystemPro>(); vegetationSystempro.AddCamera(myCamera, true, false, false); } }
|
|
|
Post by dsilverthorn on Jan 20, 2020 18:02:06 GMT
Take a look here. Edit: I simplified the original code. Just add the scrip to the FPCamera and also to ThirdCamera prefab (the one assigned to the cameraswap script). using AwesomeTechnologies.VegetationSystem; using UnityEngine;
[RequireComponent(typeof(Camera))]
public class SetVegetationCamera : MonoBehaviour { Camera myCamera; VegetationSystemPro vegetationSystempro;
void Awake() { myCamera = GetComponent<Camera>(); vegetationSystempro = FindObjectOfType<VegetationSystemPro>(); vegetationSystempro.AddCamera(myCamera, true, false, false); } } Thanks! I’ll give that a try. Much appreciated!
|
|
|
Post by dsilverthorn on Jan 20, 2020 18:04:14 GMT
Thanks for the link too! I’ve been searching all the forums but missed that one.
|
|
|
Post by dsilverthorn on Jan 21, 2020 19:03:06 GMT
Take a look here. Edit: I simplified the original code. Just add the scrip to the FPCamera and also to ThirdCamera prefab (the one assigned to the cameraswap script). using AwesomeTechnologies.VegetationSystem; using UnityEngine;
[RequireComponent(typeof(Camera))]
public class SetVegetationCamera : MonoBehaviour { Camera myCamera; VegetationSystemPro vegetationSystempro;
void Awake() { myCamera = GetComponent<Camera>(); vegetationSystempro = FindObjectOfType<VegetationSystemPro>(); vegetationSystempro.AddCamera(myCamera, true, false, false); } } I sent him a thank you for the code and he posted an updated one in that forum. FYI He said the other gave some errors and set up another method that should work better. In the same forum, just a couple of posts down. Just in case you or anyone else needs it. Thanks for directing me there. I hope to try it out tonight.
|
|
|
Post by dsilverthorn on Jan 22, 2020 22:34:19 GMT
Update: Well I have tried both methods and haven’t gotten them to work yet. Will keep trying and if I get it figured out I will post the steps. Not sure what I’m doing wrong so I’ll try again with a fresh mind to see if I missed something.
|
|
|
Post by vanzie on Feb 4, 2020 2:26:35 GMT
HUGE, HUGE, HUGE thanks for sharing this AWESOME Addon! Enjoying every single bit of it!
|
|
|
Post by james92corner on Mar 19, 2020 14:03:28 GMT
Hey everyone!!
Desperate for some help, I think I finally have it working all good but just the aim keeps getting blocked? In the layers, I have tried changing the block aim layer and a heap of different things but nothing seems to work. Aiming up and down is okay I think but side to side just cancels my aim out :(!
also the recoil is acting very strange
Thanks to anyone that helps, just know I lost a great amount of hours trying to find a solution before posting hahah Try to only ask for help on here when I'm super stuck
|
|
|
Post by sjmtech on Mar 20, 2020 10:24:05 GMT
hey james92corner, try unchecking "Enable Head Collider" in First Person Camera Inspector. Let me know.
|
|
|
Post by y2splashy on Mar 21, 2020 8:56:05 GMT
hey james92corner, try unchecking "Enable Head Collider" in First Person Camera Inspector. Let me know. Hey is the addon available for the shooter melee combat and can i switch from third person to first person with this. if i can, could someone please run me through it , thanks really appreciate it.
|
|
|
Post by sjmtech on Mar 21, 2020 12:50:32 GMT
Hey y2splashy, check the preconfigured scenes included ... you will find everything you need.
|
|
flow
New vMember
Posts: 21
|
Post by flow on Mar 24, 2020 3:19:28 GMT
For everyone who has problems with the Head Mesh when the camera is render some mesh fragments while in FPS Mode: I found a nice shader which dissolves mesh away, you can also use it in world space or local space and it's also working with a spherical shape, here the link Asset Store Link and it's also Free... I did this with this shader:
|
|
|
Post by y2splashy on Mar 24, 2020 12:45:23 GMT
Hey y2splashy, check the preconfigured scenes included ... you will find everything you need. But i dont know how to add the components to my shooter melee controller, could you please give me a tutorial showing this reallt appreciate it,
|
|