Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

OcularCash

ADG
  • Content Count

    3,852
  • Joined

  • Last visited

  • Days Won

    128

OcularCash last won the day on October 13

OcularCash had the most liked content!

Community Reputation

1,043 Excellent

About OcularCash

  • Rank
    Team Member
  • Birthday 04/29/1985

Profile Information

  • Gender
    Not Telling
  • Location:
    Springfield Missouri USA
  • Interests
    Javascript, Java, C#, C++, PHP, 3d Modeling, Foley Recording, Photography

Contact Methods

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. OcularCash

    Script help me

    conversion: add your namespace just like you see in other c# scripts change function to void change var dead : Rigidbody = to Rigidbody dead =, same goes with other variables remove the period after GetComponent so it’s GetComponent<Something> instead of GetComponent.<Something>
  2. OcularCash

    Script help me

    Js and c# cannot interact without forcing one to compile first. Your best bet is to just convert the js file to c#
  3. OcularCash

    Script help me

    Your answer is in your console. PlayerDamage does not exist in your implementation. Change ApplyDamage to PlayerDamage. conversion: add your namespace just like you see in other c# scripts change function to void change var dead : Rigidbody = to Rigidbody dead =, same goes with other variables remove the period after GetComponent so it’s GetComponent<Something> instead of GetComponent.<Something> thats the basics of converting js to c# in a nutshell. Don’t really need a converter for such a small script
  4. OcularCash

    error CS0246

    Do you have two scripts with the namespace “Look”? If I remember correctly they cancel each other out and throw that same error. Happened a couple times to me when I first started using unity and created a mouselook but also had the standard unity mouselook in the project
  5. OcularCash

    Quaternion Glitch

    As Roland stated. It’s unitys quaternion version of the gimbal lock
  6. OcularCash

    How you start GameDevelopment/coding?

    Lol most of the staff including oma is around my age
  7. OcularCash

    How you start GameDevelopment/coding?

    I started by making text adventure games on ms dos. Concept was pretty simple. List of questions (to the north there is a tree. To the east you see a man pushing a wheel barrel. To west you hear the sounds of the ocean) each direction led to another index in the list, etc. so I actually learned to code prior to editors or any kind of visuals/visual aids whatsoever, just words on a black screen. in the mid/late 90s I spent a lot of time modding gta (the original on Windows back before it released on the first PlayStation). Used to make penis cars or erase the cars so they’re just floating around lol (don’t judge, I was 12). That’s when I got more into visual game developing and started working on games like link to the past, super Mario and ff mystic quest like games so what... 20 something years and still love developing
  8. OcularCash

    Help Move script Please

    You just had this exact same issue on Saturday. Always recheck your work for spelling mistakes just think of it like this. Your not wanting to create a function that fixes the update, your wanting to use a function that has already been fixed. Hint Fix(ed) update and not fix. Because if it was called FixUpdate, then that would mean the update loop has not been fixed yet which would make no sense putting anything in it. Coding is just a form of writing, if it makes no sense when you read it back, then you misstyped something
  9. OcularCash

    Object didn't spawn

    if(Moving == true), not if(Moving = true). FixedUpdate, not FixUpdate. You said you copied it perfectly but there’s those issues so obviously it’s not copied perfect. If it works in the video and not for you, it’s a mistake you made, not the author Make sure FixUpdate is changed to FixedUpdate on both scripts, not just one
  10. Use two lights and separate the objects into two separate layer. Render the low light level object using one light and everything else with the other
  11. OcularCash

    NavMesh custom walking behaviour

    Well you can still use nav mesh, just have to make your own agent then. Just get the path to the target, clamp the direction and use a rigid controller/char controller for physics stuff. If clamped direction compared to controller forward is at a greater angle than 5, rotate to target direction, else move forward
  12. OcularCash

    Saving changes on GameObject during play mode

    Nice. You can also do the same thing by right clicking the component you want to save and selecting “copy component”, then exiting play mode and right clicking again and selecting “paste component values”. But good none the less
  13. OcularCash

    Can someone help me fix orientation on a few models?

    Your most likely changing the pivot by accident sometimes and it's throwing everything off. By left clicking, your anchor changes and therefor throwing off the pivot. https://docs.blender.org/manual/en/dev/editors/3dview/object/editing/transform/control/pivot_point/index.html I always have mine set to "median point" which makes every scale, move and rotate from the middle of the selection vs from the anchor point. If you want to rotate everything around a point (like rotating around a parent in unity), you use 3d cursor instead and just place it where you want to rotate around at. heres a common shortcut cheat sheet: a = select all z = toggle wire frame g = move r = rotate s = scale b = box select when using g, r or s you can then press x, y or z and type in the value you want to rotate, scale or translate by. Just those 6 hot keys will get you around blender quite easily. Just remember, always manipulate in edit mode, NOT object mode. Object mode does not change any vertice locations, only changes the transforms values, which is exactly the same thing as just changing transform values in unity, which is not what you want.
  14. OcularCash

    Can someone help me fix orientation on a few models?

    Just open blender. Select your object, go into edit mode and press "a" to select all the vertices. Then press, for instance to rotate on 180 on the vertical axis, "r" then "z" (z is unitys y, y is unitys z) then "180" and hit enter. Change in edit mode, not object mode. Really simple. Just saying how to do it bc I'm currently short on time and can't do it myself
  15. OcularCash

    Add shield to animated model ?

    Cloth possibly? Unless you rig the body rig to the vest
×