© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•9mo ago•
36 replies
_mtn_dew_

Not understanding something with C#

Hello! I am following the unity documents on C# to learn but I don't seem to get something. In the docs it is showing me how to make a turret there is one line I don't understand. "Rigidbody p = Instantiate(projectile, transform.position, transform.rotation);" I don't get what the p is for but I did see it again in the line that says "p.velocity = transform.forward * speed;" but I still don't understand what it's there for.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ not understanding something about accessors
C#CC# / help
3y ago
help understanding something
C#CC# / help
2y ago
C# Plugin for Rust Game; Error; Not Understanding
C#CC# / help
2w ago
Not understanding this lesson
C#CC# / help
12mo ago