Skip to content

Instantly share code, notes, and snippets.

View terrehbyte's full-sized avatar
Keqing Story Quest When?

Terry Nguyen terrehbyte

Keqing Story Quest When?
View GitHub Profile

Physics in Unity and Time Steps

Closed

Trampoline

Create an object that acts as a trampoline. Objects that fall into it should be thrust into the air using physical forces.

The amount of force that is applied to the object should be configurable.

Whiteboard Exercise

In groups, complete the following exercises on a whiteboard with help from your team. Once you think you have a working solution, have someone from the team transcribe it into the HackerRank editor and test to see if it works. If it fails one of the test cases, review it as a team and return to the whiteboard to edit your solution.

Work through the following exercises. They are provided in the order from least difficult to most difficult according to HackerRank's system.

P4 Revert Guide

Old, but Reliable

To revert someone else's files, you'd ideally know the $USER, $CLIENT, $CHANGE (optionally), and $FILESPEC.

  • $USER, the username as indicated by perforce
  • $CLIENT, also known as the workspace
  • $CHANGE, the number of the changelist (or default)
@terrehbyte
terrehbyte / UniversalPipelineTemplateShader.shader
Last active October 19, 2021 00:22 — forked from phi-lira/UniversalPipelineTemplateShader.shader
Template shader to use as guide to create Universal Pipeline ready shaders. This shader works with Universal Render Pipeline 8.2.x < 10
// URP 8.2.X - Lit Shader Template
// Forked by @terrehbyte from https://gist.github.com/phi-lira/225cd7c5e8545be602dca4eb5ed111ba
// Changes made per comments from @Dan3dd - https://gist.github.com/phi-lira/225cd7c5e8545be602dca4eb5ed111ba#gistcomment-3259431
//
Shader "Universal Render Pipeline/Custom/Physically Based Example"
{
Properties
{
// Specular vs Metallic workflow
[HideInInspector] _WorkflowMode("WorkflowMode", Float) = 1.0